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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

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

Your Answer

0 2 40140 3 13230 5 12650 7 82160 8 37110 11 13820 12 17780 13 8170 14 82120 15 81260 16 46660 17 1330 18 25590 20 70170 21 47410 22 54990 24 15620 25 46361 0 67471 2 84241 3 28221 4 14811 5 88461 6 -41 7 50251 10 12171 11 31991 13 17501 14 44221 15 12771 16 30111 17 781 19 44701 20 50571 21 66941 23 25441 25 15082 0 79392 1 75922 3 74682 4 19522 5 74192 6 85902 7 66562 8 73002 9 6932 11 69162 12 2702 13 90992 14 20722 15 48772 16 -102 17 2052 18 24012 19 17402 20 46942 21 -72 23 50362 24 4682 25 88402 26 7853 0 84193 2 89513 4 7103 5 90973 6 4403 7 37253 9 60173 15 19343 16 46513 17 12543 18 70103 20 17253 21 72983 22 77113 23 60883 24 5763 25 26753 26 31964 0 74294 2 4154 3 87234 5 77464 6 24974 8 13004 9 87864 10 8924 11 3314 12 36754 13 47814 14 -314 16 79804 17 -694 18 1354 19 71694 20 35974 21 8454 22 82944 23 7804 24 46844 25 65754 26 17135 0 60325 1 88245 2 18505 4 9115 8 32155 9 -235 10 69275 11 40455 13 -215 14 43345 15 95 16 23025 17 13105 18 38515 19 12305 20 72085 21 69885 22 21875 26 67506 1 131

JOJ Answer

-10
181
45
-57
205
349
5
909
175
4
292
229
-48
1324
-6
319
10
169
1084
1358
-17
801
154
172
-57
308
213
1173
-25
698
-83
45
375
340
275
1817
276
846
205
551
750
1301
280
988
-80
1041
-120
692
219
378
244
-17
274
343
47
1173
607
104
1240
379
845
260
-37
777
361
-40
-10
2011
-22
373
112
514
135
292
452
-120
167
111
-18
-37
1382
192
867
-114
232
405
-17
328
-19
244
-10
81
185
-68
281
-183
301
1195
-116
332
927
110
759
61
1101
-67
519
1376
229
1763
5
-65
288
212
280
344
110
1772
348
171
1259
152
434
420
-64
1426
-48
139
24
779
218
-116
801
45
106
1324
867
1358
480
232
210
154
595
864
1324
212
24
405
292
311
1318
1108
106
234
1022
252
41
88
1698
126
5
577
179
607
85
801
2337
618
-111
373
-102
498
-173
252
1
132
-32
-215
98
-51
6
435
128
466
93
739
226
-48
-46
162
1088
642
18
279
108
74
455
861
1181
88
555
9
896
493
413
232
121
76
257
493
7
184
1719
240
-20
279
27
30
24
55
219
1028
-69
761
24
1656
-65
857
252
1832
132