Record Case Detail

Notes

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

Stderr


        

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.

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

Your Answer

0 1 13860 2 14270 3 30640 4 12390 5 48840 6 65080 7 32240 8 93640 9 35430 10 76440 11 31290 12 60210 13 76810 14 20300 15 92250 16 60460 17 49090 18 23770 19 22630 20 78130 21 33960 22 85560 23 67190 24 70880 25 23560 26 63140 27 89790 28 52510 29 22350 30 7270 31 44620 32 2890 33 58590 34 42910 35 25620 36 94260 37 1010 38 48620 39 35580 40 30760 41 54530 42 26820 43 73010 44 61570 45 18300 46 73640 47 81740 48 41230 49 18110 50 36950 51 72000 52 37550 54 1220 55 7280 56 26720 57 6430 59 48470 60 45570 61 30730 62 17810 64 11030 65 38840 66 58100 67 35620 69 12550 70 19530 71 51970 72 73400 73 36520 74 77520 75 37320 76 69760 77 55760 78 45180 79 56190 80 77100 81 36210 82 43930 83 33410 84 65210 85 3540 86 49630 87 91890 88 31300 89 66190 90 70930 91 17300 92 39150 93 12440 94 22760 95 59460 96 21440 97 12320 98 65500 99 72790 100 49690 101 64670 102 28540 103 39460 104 3850 105 79790 106 81980 107 70200 108 6880 109 42960 110 81540 111 17380 112 16410 113 40380 114 3360 115 9190 116 72370 117 83020 118 876

JOJ Answer

316
81
549
252
348
220
322
124
230
396
229
345
231
204
416
264
545
116
341
366
444
300
229
244
315
194
650
245
139
541
223
402
182
244
253
211
342
237