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

1233803008
820
1173989976
1144998912
1386766462
1315802261
1254155338
1184432324
1194631979
1216695254
1002798032
1075202505
445
1146906942
1161085432
1029736328
207
564
1107453607
1115593642
1104470447
1056412686
1076614916
872
458
1133160541
1269668323
1481530708
1010378646
1248463703
135
462
996
1482310421
1054992966
1321989694
1016972895
1083143737
74
1037530581
1411313085
853
365
1471906859
716
606
1195973028
1398034996
1121571254
473
1182165911
1128987598
1322153779
1204226483
1465191093
1163443932
1468371417
1147519506
1179772375
919
1216264658
1236438413
1240910501
1164169583
631
1085942150
1208757905
1118203707
1134881517
1146697600
999
345
1366874803
1337216905
1005887506
1084163286
481
1116154069
1397177422
1212082664
1195209424
102
1244659416
1440428524
1254687385
84
591
353
1068019606
1133526273
1185813900
1365580645
1196649571
1146902648
721
1231709074
261
615
1103794510
1207127048
142
1148518390
1021287780
1045573703
260
1230908772
296
577
1246377517
1256609726
1342672325
1129789041
1183155741