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
7378 117
9493 307
9416 372
9738 525
9663 539
8373 485
9129 600
7550 449
9032 730
9857 857
7931 614
7625 591
8931 787
9829 924
9669 905
8445 745
6774 501
9914 979
9190 916
9586 1044
9623 1129
7874 826
8970 1101
9821 1289
7869 934
9727 1395
9188 1296
8636 1182
8978 1279
7629 1007
6913 848
9231 1446
9124 1424
8849 1363
9169 1634
9440 1843
7763 1360
9378 2010
8730 1830
9941 2317
9063 2049
9909 2603
8948 2357
9904 2831
8630 2281
7758 1990
6196 1285
8682 2496
8541 2489
9114 2868
8876 2761
8504 2600
9113 2954
9907 3523
9820 3545
9667 3483
9582 3448
9017 3145
9590 3581
7270 2257
9779 3747
8861 3220
9646 3768
9802 3964
9844 4089
9980 4225
9620 4038
9192 3787
9834 4345
8611 3539
9205 3987
9812 4468
5944 1769
8034 3323
9281 4303
9906 4845
9166 4470
9865 5053
6610 2525
9800 5129
9921 5299
9758 5185
8558 4255
8379 4107
9382 5038
8983 4718
9695 5366
9626 5344
8863 4748
7767 3807
9811 5648
9731 5609
9788 5780
8238 4371
9250 5441
8394 4675
8785 5118
8984 5357
9713 6106
8497 4922
9750 6172
8352 4842
9654 6328

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