Notes
This function is in beta test. Please help improve it in the issues
here.
$ ./l5 rand_double.txt inc 1423=-0.404860 2871=-0.404860 963=-0.404617 8549=-0.404617 4041=-0.404536 262=-0.404374 8998=-0.404374 8948=-0.404293 3513=-0.404131 9932=-0.404131 1427=-0.403969 2659=-0.403888 9962=-0.403888 8400=-0.403807 270=-0.403726 9710=-0.403645 4028=-0.403564 5230=-0.403483 5730=-0.403402 7430=-0.403402 4971=-0.403321 615=-0.402916 9818=-0.402916 6196=-0.402511 7464=-0.402511 8089=-0.402511 6265=-0.402268 458=-0.402187 3726=-0.402025 7826=-0.402025 8641=-0.402025 313=-0.401944 940=-0.401944 921=-0.401701 6405=-0.401701 9679=-0.401620 6966=-0.401539 301=-0.401458 8167=-0.401296 7955=-0.401134 8242=-0.401134 2046=-0.401053 3867=-0.401053 239=-0.400972 3413=-0.400891 9777=-0.400891 735=-0.400729 6789=-0.400729 1482=-0.400648 4334=-0.400648 4748=-0.400648 5254=-0.400648 5091=-0.400567 5128=-0.400486 1595=-0.400243 5084=-0.400243 560=-0.400162 4469=-0.400162 9752=-0.400000 1289=-0.399838 4145=-0.399838 9054=-0.399838 3176=-0.399676 7177=-0.399676 8593=-0.399595 3348=-0.399514 5836=-0.399433 6340
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Runtime Error. And the exit code of your program is 243, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
Program exit with non zero value -13!
JOJ Answer
Correct!