Notes
This function is in beta test. Please help improve it in the issues
here.
$ ./l5 rand_double.txt dec 2754=0.404779 5770=0.404779 7360=0.404698 2984=0.404617 112=0.404536 1753=0.404455 6305=0.404455 1817=0.404374 1567=0.404293 2830=0.404293 461=0.404131 3963=0.404131 2182=0.404050 1370=0.403969 2306=0.403969 4300=0.403645 9155=0.403483 2531=0.403402 2962=0.403402 3270=0.403159 1154=0.402997 2735=0.402754 8737=0.402754 9403=0.402673 654=0.402592 1912=0.402268 8239=0.402187 8131=0.402106 15=0.402025 2919=0.401944 4213=0.401944 6181=0.401863 4708=0.401701 3360=0.401539 6204=0.401539 5363=0.401458 7495=0.401458 8498=0.401377 3792=0.401296 987=0.401134 1994=0.401134 2229=0.401134 6255=0.401134 1806=0.400972 8442=0.400972 7298=0.400891 2421=0.400729 1399=0.400648 5430=0.400648 7927=0.400648 9016=0.400405 6454=0.400243 273=0.400162 9466=0.400162 307=0.400000 9990=0.399919 3864=0.399838 4365=0.399838 7573=0.399757 3914=0.399595 6621=0.399595 9740=0.399595 7967=0.399514 2862=0.399271 3219=0.399271 2057=0.399190 132=0.399109 1730=0.398785 3931=0.398785 9479=0.398704 241=0.398623 4758=0.398623
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!