Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

$ export LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH
$ ./l6 rand_double.txt rand
10000
2=0.168894
68=-0.298015
416=0.128311
351=-0.358688
2500=-0.318591
418=-0.004374
664=0.149453
708=-0.135601
1273=-0.388740
639=-0.313811
1251=-0.053463
1330=0.180235
5058=-0.098582
312=-0.364763
322=-0.165168
6261=-0.098339
157=-0.333414
5627=-0.295180
649=-0.328797
686=0.236857
2506=-0.228028
3755=-0.342487
714=-0.098015
1333=-0.165492
1488=-0.154800
1610=0.259457
1489=0.144350
2190=0.024301
2568=0.158040
3439=0.368246
7050=0.208829
21=0.071284
316=0.368894
331=0.230944
127=-0.164682
22=-0.194411
4394=-0.336249
135=-0.092912
5784=0.248522
165=-0.075658
7509=0.193439
2560=0.162495
160=0.042932
468=-0.388497
3144=-0.174970
471=0.002916
723=0.318267
7539=0.207290
7540=-0.373593
83=0.232888
517=-0.334386
5033=0.241879
5000=-0.053463
1413=-0.332118
168=0.087566
60=-0.008262
237=-0.370109
1425=0.110652
2266=-0.278412
2580=0.382260
4175=-0.327825
2704=0.075577
2824=0.087485
5792=-0.390036
6266=0.304577
7580=0.040502
337=0.361361
8212=-0

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!