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

023261
049178
058556
063459
074942
085806
096173
0113150
0126751
0132435
014851
0152636
016657
0177084
0181431
108663
12633
138686
141099
151520
162051
177475
183356
110215
112563
1138213
114151
1152320
1168669
1175876
1194725
20828
217063
234799
24781
252177
26968
272004
285356
29767
2109113
2113576
2123265
2133182
2142621
2157859
2161527
2174441
2188590
2191780
318837
326872
349486
359226
362763
386166
391359
3108694
3122607
3131427
3149215
315231
3162168
3178865
3188
3191548
415345
422772
437251
456428
4685
474340
488284
497485
4104570
4112732
4137194
4144597
4158289
4177002
4182371
4199189
506129
511360
523933
532643
561189
573150
589137
598163
5101021
5118817
5128057
5133267
5141919
5153732
5161113
5173547
518695
5191431
606319
621389
631917
643760
675104
688253
699564
6102681
6118355
6123688
6138268
6148223
6152980
617480
6182469
6197118
702310
716023
738255
751024
767081
794958
7117018
7125184
7136601
7165092
7171090
7188222
7199581
802663
811727
824172
839114
843232
852640
869378
874150
894642
8112057

JOJ Answer

1593
695
852
911
497
2547
1796
1957
1472
1454
941
763
2067
2130
1389
980
1346
391
1680
1094
760
620
2894
151
919
1071
2643
650
432
1476
2288
1280
1659
854
2002
1035
850
1181
1331
851
2374
1687
3220
2341
1156
1859
1039
1469
856
8
1248
919
1405
2172
1365
866
3674
1863
2044
1796
1980
2676
38
1661
1315
1059
1360
198
701
480
1896
2567
1770
1519
3714
650
2461
3065
3054
851
2004
1636
2172
896
899
1695
1099
1551