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 88000 3 11690 4 45280 5 42180 7 76980 9 79120 10 84790 12 25930 13 39130 15 750 16 56500 18 15550 19 80680 21 26290 22 12840 27 3390 28 60090 30 1840 31 4920 33 78080 35 45660 37 6520 38 55080 40 26150 44 81730 45 15740 46 00 47 86220 48 34150 51 26300 52 47940 53 91890 54 41010 56 14510 57 6870 61 42190 64 48530 66 25950 69 35790 70 72290 71 68950 72 35850 74 36690 78 27530 80 65110 81 -60 82 37550 84 54790 85 16360 87 10830 88 3770 89 72370 91 35310 92 34260 93 69000 97 36290 98 77550 99 71840 102 25010 103 50350 104 81471 0 71111 5 27791 6 86011 7 3471 8 29361 9 48041 10 15671 11 50001 12 30371 13 15821 14 18041 15 90531 16 79831 18 24091 19 12801 20 46111 26 92981 27 68561 29 80711 30 29801 31 8361 33 50621 34 -31 37 70541 38 70421 39 44411 40 93781 41 64611 42 80601 44 88391 47 83751 49 63881 50 64861 51 46151 54 25331 56 3271 57 20351 58 63911 60 12201 61 59071 62 72591 65 55721 68 6531 69 66261 70 20551 71 67831 73 51891 75 -71 77 27701 78 20281 79 88201 81 71071 82 43231 83 16201 84 5251 86 27301 

JOJ Answer

166
248
205
182
32
249
27
590
184
408
8
245
322
6
70
153
0
67
135
113
162
82
191
113
509
91
248
158
14
121
149
168
232
121
105
129
179
231
365
190
424
235
235
155
165
144
147
209
169
188
89
233
140
21
75
161
204
89
290
77
114
165
308
155
201
303
237
134
-3
229
110
199
145
219
180
236
344
503
269
306
157
408
187
174
278
440
184
172
252
291
357
237
196
277
213
158
149
303
219
208
226
130
125
163
317
299
128
185
214
205
507
159
342
138
128
294
170
159
159
255
37
160
243
243
419
204
209
252
134
99
83
278
57
147
165
219
229
100
159
187
139
139
442
136
6
168
194
204
214
163
166
156
292
201
160
74
315
351
193
313
189
152
214
161
169
119
53
174
197
254
90
217
88
119
319
206
206
322
191
129
118
244
162
362
152
198
-6
115
173
112
175
298
213
283
176
96
274
153
100
167
595
256
143
432
534
209
205
190
229
332
107
178
80
5
55
200
84
95
518
115
498
243
252
201
549
443
224
99
156
137
119
120
115
230
101
460
133
153
114
260
184
127
276
352
270
88
71
203
173
70
266
129
197
47
340
56
137
317
98
275
128
309
205
333
386
207
283