/ Test /

Record Case Detail

Notes

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

Stderr

=================================================================
==2174==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 0x7fe96e21db96  (/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 0x7fe96e21db96  (/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 0x7fe96e21db96  (/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

325.897 263
48.041 163
55.257 223
41.524 257
133.435 237
159.678 237
240.931 263
266.366 263
400.993 263
267.866 263
360.171 263
381.021 263
123.084 240
271.647 263
204.966 258
416.950 263
276.393 263
10.525 79
188.639 263
267.183 263
157.373 263
275.653 263
197.340 263
213.528 263
5.222 103
20.966 114
66.194 225
94.677 203
94.726 263
225.412 263
218.244 263
0.570 28
232.854 261
8.910 182
425.366 263
314.179 263
398.798 263
18.846 214
254.471 263
465.272 263
26.935 178
56.126 164
192.904 252
170.894 258
78.021 224
41.088 146
97.004 227
276.111 263
140.591 263
320.386 263
260.131 263
100.641 263
43.851 159
186.567 263
364.986 263
96.344 220
29.483 149
286.626 263
432.374 263
77.524 220
412.577 263
379.960 263
19.492 195
234.038 261
230.335 263
23.902 192
285.596 263
90.500 258
230.095 263
167.178 241
319.903 263
39.905 244
32.830 213
79.632 195
48.406 247
147.859 258
75.921 205
157.300 231
175.033 262
76.748 263
155.109 260
158.545 262
326.453 263
135.706 223
72.104 213
345.423 263
432.084 263
308.895 263
420.

JOJ Answer

325.897 263
48.041 163
55.257 223
41.524 257
133.435 237
159.678 237
240.931 263
266.366 263
400.993 263
267.866 263
360.171 263
381.021 263
123.084 240
271.647 263
204.966 258
416.950 263
276.393 263
10.525 79
188.639 263
267.183 263
157.373 263
275.653 263
197.340 263
213.528 263
5.222 103
20.966 114
66.194 225
94.677 203
94.726 263
225.412 263
218.244 263
0.570 28
232.854 261
8.910 182
425.366 263
314.179 263
398.798 263
18.846 214
254.471 263
465.272 263
26.935 178
56.126 164
192.904 252
170.894 258
78.021 224
41.088 146
97.004 227
276.111 263
140.591 263
320.386 263
260.131 263
100.641 263
43.851 159
186.567 263
364.986 263
96.344 220
29.483 149
286.626 263
432.374 263
77.524 220
412.577 263
379.960 263
19.492 195
234.038 261
230.335 263
23.902 192
285.596 263
90.500 258
230.095 263
167.178 241
319.903 263
39.905 244
32.830 213
79.632 195
48.406 247
147.859 258
75.921 205
157.300 231
175.033 262
76.748 263
155.109 260
158.545 262
326.453 263
135.706 223
72.104 213
345.423 263
432.084 263
308.895 263
420.