/ Test /

Record Case Detail

Notes

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

Stderr

=================================================================
==2164==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x515e50  (/out/package/debug+0x515e50)
    #1 0x51de7f  (/out/package/debug+0x51de7f)
    #2 0x51aaf1  (/out/package/debug+0x51aaf1)
    #3 0x7f28b6260b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Direct leak of 56 byte(s) in 1 object(s) allocated from:
    #0 0x515e50  (/out/package/debug+0x515e50)
    #1 0x51de7f  (/out/package/debug+0x51de7f)
    #2 0x51aacf  (/out/package/debug+0x51aacf)
    #3 0x7f28b6260b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 3200 byte(s) in 1 object(s) allocated from:
    #0 0x515e50  (/out/package/debug+0x515e50)
    #1 0x51fc1f  (/out/package/debug+0x51fc1f)
    #2 0x51ed12  (/out/package/debug+0x51ed12)
    #3 0x51e235  (/out/package/debug+0x51e235)
    #4 0x51dea5  (/out/package/debug+0x51dea5)
    #5 0x51aaf1  (/out/package/debug+0x51aaf1)
    #6 0x7f28b6260b96  (/lib/x86_

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 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

6.203 17
14.251 23
22.149 24
32.087 25
11.532 24
3.485 16
1.571 20
2.701 20
1.217 25
7.887 24
23.685 25
23.877 25
12.975 24
31.262 25
8.729 25
41.506 25
26.550 25
47.337 25
24.296 25
3.439 17
13.115 25
26.998 25
33.781 25
40.274 25
15.537 25
16.683 25
20.509 25
28.496 25
8.370 25
14.526 24
39.455 25
11.610 24
28.360 25
48.292 25
11.350 24
45.745 25
27.283 25
9.625 24
0.850 6
44.437 25
33.351 25
33.370 25
20.624 25
42.373 25
47.139 25
3.947 25
29.673 25
3.153 23
13.331 25
22.991 25
39.974 25
1.927 17
21.376 25
21.233 24
9.909 23
15.927 24
46.170 25
28.685 25
20.099 24
0.274 6
4.075 25
38.559 25
48.498 25
7.416 20
35.009 25
22.612 24
10.201 24
2.384 24
8.731 21
4.028 24
31.204 25
18.364 25
6.479 20
48.565 25
19.870 25
38.561 25
14.717 24
40.980 25
18.074 24
9.311 25
12.728 24
28.496 25
1.879 17
28.685 25
22.822 24
42.704 25
19.452 24
21.652 24
24.908 25
9.945 25
43.693 25
27.627 25
17.061 24
41.306 25
21.971 25
1.489 18
21.775 25
26.391 25
26.864 25
15.482 24
44.155 25
31.327 25
10.045 24
34.314 25
32.087 25
7.

JOJ Answer

6.203 17
14.251 23
22.149 24
32.087 25
11.532 24
3.485 16
1.571 20
2.701 20
1.217 25
7.887 24
23.685 25
23.877 25
12.975 24
31.262 25
8.729 25
41.506 25
26.550 25
47.337 25
24.296 25
3.439 17
13.115 25
26.998 25
33.781 25
40.274 25
15.537 25
16.683 25
20.509 25
28.496 25
8.370 25
14.526 24
39.455 25
11.610 24
28.360 25
48.292 25
11.350 24
45.745 25
27.283 25
9.625 24
0.850 6
44.437 25
33.351 25
33.370 25
20.624 25
42.373 25
47.139 25
3.947 25
29.673 25
3.153 23
13.331 25
22.991 25
39.974 25
1.927 17
21.376 25
21.233 24
9.909 23
15.927 24
46.170 25
28.685 25
20.099 24
0.274 6
4.075 25
38.559 25
48.498 25
7.416 20
35.009 25
22.612 24
10.201 24
2.384 24
8.731 21
4.028 24
31.204 25
18.364 25
6.479 20
48.565 25
19.870 25
38.561 25
14.717 24
40.980 25
18.074 24
9.311 25
12.728 24
28.496 25
1.879 17
28.685 25
22.822 24
42.704 25
19.452 24
21.652 24
24.908 25
9.945 25
43.693 25
27.627 25
17.061 24
41.306 25
21.971 25
1.489 18
21.775 25
26.391 25
26.864 25
15.482 24
44.155 25
31.327 25
10.045 24
34.314 25
32.087 25
7.