Record Case Detail

Notes

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

Stderr

74 4395
0 1 6587
0 2 2876
0 3 1497
0 4 2526
0 5 4645
0 8 5619
0 9 9117
0 11 8257
0 13 6910
0 14 7781
0 15 7381
0 16 5966
0 17 742
0 20 4827
0 21 364
0 22 3629
0 23 3369
0 24 6547
0 25 6379
0 26 2185
0 27 5578
0 28 5522
0 29 2249
0 31 4318
0 32 3013
0 33 4976
0 34 5573
0 36 7612
0 37 2376
0 38 2839
0 39 121
0 40 298
0 41 4063
0 42 5000
0 43 9011
0 44 0
0 45 8323
0 46 6051
0 48 6155
0 49 6893
0 52 2518
0 54 2266
0 55 -9
0 56 28
0 57 2604
0 58 5349
0 59 5432
0 60 4378
0 61 7975
0 62 5044
0 63 4451
0 64 6775
0 66 4040
0 67 9095
0 69 2913
0 70 5051
0 72 2696
0 73 8374
1 0 4286
1 3 8765
1 4 72
1 5 7718
1 7 2006
1 9 6376
1 11 2182
1 12 7129
1 13 7936
1 14 4970
1 15 8891
1 16 7921
1 17 5682
1 19 1320
1 20 1704
1 21 -8
1 23 7619
1 24 1570
1 25 667
1 26 2018
1 27 7644
1 28 4699
1 29 2865
1 30 277
1 31 7233
1 32 1317
1 34 7031
1 35 8480
1 37 2148
1 38 8431
1 39 2707
1 40 7994
1 41 1290
1 43 2369
1 44 7559
1 45 232
1 46 1802
1 48 1157
1 49 1016
1 50 1186
1 53 2649
1 55 5911
1 56 5131
1 57 825
1 58 8918
1 59 4862
1 60 282

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

574
263
-16
192
171
226
156
431
325
-11
137
316
113
273
129
525
283
55
149
216
55
232
107
66
16
235
267
126
263
204
228
325
-12
209
509
275
-16
259
126
-10
159
332
342
136
338
84
83
160
34
105
307
240
103
171
364
124
138
568
15
120
55
93
292
90
109
419
21
-14
289
190
115
-9
194
135
9
442
110
372
93
229
-13
174
124
73
61
60
364
263
302
699
725
173
608
191
130
178
133
957
-14
83
145
533
68
-1
206
180
153
783
17
116
887
429
446
-11
168
26
220
239
-6
126
143
13
77

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