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

016587
022876
031497
042526
054645
085619
099117
0118257
0136910
0147781
0157381
0165966
017742
0204827
021364
0223629
0233369
0246547
0256379
0262185
0275578
0285522
0292249
0314318
0323013
0334976
0345573
0367612
0372376
0382839
039121
040298
0414063
0425000
0439011
0440
0458323
0466051
0486155
0496893
0522518
0542266
055-9
05628
0572604
0585349
0595432
0604378
0617975
0625044
0634451
0646775
0664040
0679095
0692913
0705051
0722696
0738374
104286
138765
1472
157718
172006
196376
1112182
1127129
1137936
1144970
1158891
1167921
1175682
1191320
1201704
121-8
1237619
1241570
125667
1262018
1277644
1284699
1292865
130277
1317233
1321317
1347031
1358480
1372148
1388431
1392707
1407994
1411290
1432369
1447559
145232
1461802
1481157
1491016
1501186
1532649
1555911
1565131
157825
1588918
1594862
1602824
1612224
1626230
1631465
166990
1676219
1703821
1711951
172177
1731323
202016
214408
23631
253917
261308
2721
285396
290
2108288
2112331
2121364
2138649
2146749
2153897
2162961
2188507
2195567
2227145
223115
2247398
2

JOJ Answer

35
27
-16
153
128
-29
117
123
130
-11
80
12
-12
125
95
133
225
21
149
158
55
112
-31
53
16
155
267
68
25
185
93
20
-12
193
25
15
-16
74
107
-10
159
15
101
99
338
47
46
55
34
66
307
240
19
61
75
47
9
68
15
23
55
22
-29
62
20
80
-18
-34
73
63
90
-9
194
77
9
5
47
146
16
17
-13
56
56
17
43
7
52
213
246
182
120
139
68
35
-36
96
43
92
-14
-27
77
9
68
-10
69
146
68
13
4
61
20
15
194
-11
145
26
116
239
-6
26
123
-5
20