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, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

390831 1000000 247247 ---
119266183 378953974 1299264 223676749
177150173 822656910 164931 252677748
86919460 182204327 177257 70024833
725006546 901310471 1126544 57582101
500692978 514765650 26990 272
59962996 314293127 243482 196720418
145342675 283510927 785680 98475852
174021183 762189027 43043 127282948
72933518 581741987 354031 267547437
125365447 682324496 1095902 175424828
761070806 818776534 59746 77972623
29972425 721428398 247264 951
143595687 204949905 28664 560
20962149 927611620 237961 59017989
6866563 48462012 1592653 177750478
113989236 773745972 226801 484047558
35081368 852759262 201154 78530765
240651590 364289458 113723 369405782
644464420 852895046 111117 447953525
131242254 175643033 244988 155051819
980557219 990501512 222718 195231394
217829101 973605558 1035144 402195171
676015787 737296112 1568321 40872580
27371946 958162414 1620999 354
224525445 820549266 222781 206129740
114137547 834972211 207776 156047819
177695656 449836158 530526 798
72664465 390445311 183683 58386872
89366430

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