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

1223675336
1252676335
1070023420
1057580688
272
1196719005
1098474439
1127281535
1267546024
1175423415
1077971210
999999538
560
1059016576
1177749065
1484046145
1078529352
1369404369
1447952112
1155050406
1195229981
1402193758
1040871167
354
1206128327

JOJ Answer

1223674779
1252675778
1070022863
1057580131
272
1196718448
1098473882
1127280978
1267545467
1175422858
1077970653
951
560
1059016019
1177748508
1484045588
1078528795
1369403812
1447951555
1155049849
1195229424
1402193201
1040870610
354
1206127770
1156045849
798
1058384902
1108177528
954
1358350745
1151088396
186
1221659958
1210702429
1142598760
1170087068
1240144888
1128892706
318
539
355
1104698024
1208313835
157
1225656911
1384520086
1101165819
1209773100
1042710737
1225172273
838
1303263309
1388571904
1210852319
215
1272448376
1425091895
888
1435960595
1384391529
1098242704
1150961840
1451445395
234
733
1102284432
1177305533
1220276969
275
523
1213212903
1476624647
1386232747
696
1061290759
320
1436783006
1064786609
639
1152611131
1234062053
772
10
1044874219
1299653353
22
1115348858
1091370959
778
137
1008869164
1129008636
1155793637
1317596306
1021763700
1212987858
1039567747
1179832248
1246224479
1495569176
1127767061
1175699981
1389334181
1283591647
1040302444
1119017120
1022081291
1226600398
126510058