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


        

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