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

100000 20000 1000 ---
190776288 714855184 4332 34240866
24717170 866608466 3287 78143630
29852154 209452033 4375 33040475
54520614 284656493 1686 408
323931811 567372902 4872 253657438
131623956 234918726 3870 240810420
120942953 562054930 296 374
840682015 990139446 31800 54312038
123872403 689413391 1495 539
144687420 660134262 38130 185042984
345932904 656742638 4524 57
124643026 550965979 4908 17409205
980724126 984330797 4340 878
242414571 692054059 1692 980
114983887 903919510 1533 235949963
68263673 547958690 2217 233083858
3062897 734726669 550 143029438
230738594 315537190 2012 45760998
22149235 535635942 4266 842
60239849 79036180 949 199119760
224191911 268807218 11638 83592053
70093865 270930064 39003 463253540
180923356 869093513 28452 665
214499442 938498628 3755 159775758
562638251 975535206 21103 920
56957717 251464609 789 346576184
41048842 594187013 16829 428355172
46592065 557237592 4733 94454266
208951268 972294437 1062 496
228405531 612280433 4119 397015238
247564304 529561153 2231 168555

JOJ Answer

1034231099
1078133863
1033030708
408
1253647671
1240800653
374
1054302271
539
1185033217
57
1017399438
878
980
1235940196
1233074091
1143019671
1045751231
842
1199109993
1083582286
1463243773
665
1159765991
920
1346566417
1428345405
1094444499
496
1397005471
1168545313
1028229829
1012982988
559
1462698723
139
1242579373
24
1191348411
1172062844
1030892691
1087357692
1019508718
1072520416
1009673854
909
366
1124729151
1185655211
497
1117825698
1158497076
1140823328
1356552027
1414850832
1046208065
917
1238131316
1371090965
91
1061885566
616
1367238643
550
1001806046
1070353153
1142486278
1122432553
1197189129
94
1143824180
729
1331407369
223
1251976062
1000133796
1098733553
472
155
842
1211945286
1140364102
1471559122
1249410847
503
1483790767
1371059841
1458633981
558
397
455
1166876679
1158218764
1312249357
1200572021
75
1221217582
1271486676
763
1141796194
591
1161799709
807
1078389501
1072730316
1240883794
445
1190065437
1431259525
1249758404
1375482936
475
1192124305
1044249458
1026157916
851
1342578595
1