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 Memory 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

1188994840
1039305275
619
604
419
1406364020
1174651325
965
1275258332
1238996313
291
1052681357
1092110037
1373225582
33
1255837726
1109450177
1058604121
1280385662
1017756892
1139988815
1002450713
1088861672
1000392881
344
1201578631
233
1418275308
1000334400
1061112582
1100529520
1411407688
1234267510
1019385079
1095795637
174
1181352616
1378562660
1139451305
1021770277
591
1218644126
618
1264596965
71
1401019116
891
1039834821
693
1067699963
1087090272
1270686251
406
1108159043
96
649
1071435970
1218004912
1031256523
1105746977
1193473891
1435988926
1058927016
9
292
1075819206
1003066586
1221523260
1065537945
1152264440
1291303784
514
1122530732
549
741
1257347605
1222684860
1178112499
1227985254
58
311
1246562406
1114472037
1415353539
1076035598
1122541465
514
1259319725
968
1028401967
1430559443
1483740305
1347220951
1118176220
1182699501
1080873823
1056907603
1298160742
1256024082
1143149650
689
921
1162062356
1200751693
718
1390606061
1096681983
736
535
1101773785
1294114959
276
1264690207
1345037135