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

427
1046113736
1337321740
1101520195
1050516450
1164872508
1136163968
1026866487
1117573837
1168402555
1130567538
1324110872
1186590890
1058694626
1060086621
829
1148851974
1242836342
627
1140188902
1389797707
1302905525
1174404639
752
1203341402
1364328476
1168482946
1061447757
1247162547
1126426668
918
717
384
1342305473
1053239650
1334743661
205
1394942873
1345929705
1124712752
1058629023
1076273688
1017124721
1198688436
1028706081
1197277346
1006830111
1444348590
249
1197531240
1203541072
1418002114
32
1166741515
551
1302488172
1199495574
1044093169
1020564242
1231940093
1090452446
1033899543
1053381757
1033258591
656
1203257235
1428303526
1054363671
1393265740
1198100072
131
1053123940
1065676434
1205420370
409
1432678883
1409671617
1010516444
1096058797
1053292192
1050610350
1220271131
1259629842
579
1026195852
455
1104284933
1086364131
1488162588
352
1107292929
1381235799
1477981023
1043486317
795
1246045446
2
735
1233968434
1174855888
1347426108
1285602862
1379109550
90
1130977978
1111372430
129725556