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

3479 10
9704 22
6648 26
7435 39
5810 59
7378 117
5777 79
5979 114
9493 307
9450 308
9416 372
6316 184
6801 277
9738 525
9663 539
7474 367
6702 310
8373 485
7040 356
7729 429
9129 600
7550 449
5309 209
5914 296
9032 730
8094 621
9857 857
7931 614
6995 492
7625 591
6984 506
8931 787
9829 924
9669 905
7428 583
8264 718
8445 745
6774 501
5910 374
9914 979
9024 862
9190 916
6127 450
9586 1044
8510 888
9195 1046
9623 1129
7213 696
7874 826
5873 461
6383 562
8970 1101
8068 928
8017 922
9821 1289
7869 934
4780 291
9727 1395
8308 1088
9188 1296
7402 896
8636 1182
7230 869
7212 866
8978 1279
7030 849
7629 1007
6913 848
6381 720
9231 1446
9124 1424
8849 1363
5943 639
7663 1084
7316 1019
7409 1050
7416 1087
8827 1512
9169 1634
8333 1431
8937 1664
9440 1843
7763 1360
4916 473
5819 790
9378 2010
8730 1830
5857 844
9941 2317
7317 1401
9063 2049
6359 1075
8261 1831
7555 1649
9909 2603
7202 1561
8948 2357
6158 1184
9904 2831
4985 672
7358 1717
8630 2281
4894 648
6947 1589
7758 1990
6196 1285
5432 936
8682 2496
7327 1856
8541 

JOJ Answer

3479 10
9704 22
9914 979
9980 4225
9960 8880
9594 9989
4449 9995
1584 9972
143 9875
6 9662
27 1094
144 758
1187 101