/ Test /

Record Case Detail

Notes

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

Stderr

=================================================================
==2170==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 0x7fd77d655b96  (/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 0x7fd77d655b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 32000 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 0x7fd77d655b96  (/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

7.792 24
30.422 24
9.307 24
4.693 15
13.137 22
4.314 24
2.511 23
11.730 18
8.918 14
16.021 24
31.713 24
9.742 14
42.880 24
10.594 24
3.750 15
20.364 24
46.346 24
7.149 14
35.141 24
31.957 24
14.599 24
3.519 22
1.048 13
38.971 24
18.647 24
19.022 24
2.954 16
8.890 16
35.458 24
25.502 24
22.923 24
45.476 24
48.600 24
13.345 19
24.617 24
37.435 24
23.604 24
22.286 24
0.928 18
8.069 24
11.775 18
19.509 23
16.005 24
18.765 22
8.090 14
24.251 24
4.061 18
11.473 24
43.940 24
26.386 24
9.647 24
42.627 24
19.536 24
1.940 9
17.267 24
9.839 19
11.656 24
10.631 20
39.188 24
1.645 8
0.768 11
0.865 15
6.905 24
10.447 24
30.073 24
42.371 24
10.291 24
0.643 8
49.309 24
8.093 24
19.605 24
12.898 24
9.259 15
32.622 24
5.557 24
26.431 24
31.703 24
17.565 24
34.679 24
10.336 24
49.624 24
2.436 14
0.588 20
7.422 24
3.132 14
0.336 5
31.382 24
9.248 24
5.654 22
47.948 24
43.850 24
1.313 22
3.123 14
23.972 24
2.257 9
19.329 24
34.148 24
24.531 24
2.981 20
23.031 24
21.044 24
8.739 22
23.373 24
0.625 16
9.980 24
42.732 24
40.792 24
6

JOJ Answer

7.792 24
30.422 24
9.307 24
4.693 15
13.137 22
4.314 24
2.511 23
11.730 18
8.918 14
16.021 24
31.713 24
9.742 14
42.880 24
10.594 24
3.750 15
20.364 24
46.346 24
7.149 14
35.141 24
31.957 24
14.599 24
3.519 22
1.048 13
38.971 24
18.647 24
19.022 24
2.954 16
8.890 16
35.458 24
25.502 24
22.923 24
45.476 24
48.600 24
13.345 19
24.617 24
37.435 24
23.604 24
22.286 24
0.928 18
8.069 24
11.775 18
19.509 23
16.005 24
18.765 22
8.090 14
24.251 24
4.061 18
11.473 24
43.940 24
26.386 24
9.647 24
42.627 24
19.536 24
1.940 9
17.267 24
9.839 19
11.656 24
10.631 20
39.188 24
1.645 8
0.768 11
0.865 15
6.905 24
10.447 24
30.073 24
42.371 24
10.291 24
0.643 8
49.309 24
8.093 24
19.605 24
12.898 24
9.259 15
32.622 24
5.557 24
26.431 24
31.703 24
17.565 24
34.679 24
10.336 24
49.624 24
2.436 14
0.588 20
7.422 24
3.132 14
0.336 5
31.382 24
9.248 24
5.654 22
47.948 24
43.850 24
1.313 22
3.123 14
23.972 24
2.257 9
19.329 24
34.148 24
24.531 24
2.981 20
23.031 24
21.044 24
8.739 22
23.373 24
0.625 16
9.980 24
42.732 24
40.792 24
6