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

9965 3
9998 156
9999 5666
9997 7763
9988 9213
9984 9675
9980 9747
9832 9997
6699 9999
623 9995
34 9959
25 9855
3 8962
0 3845
1 3406
4 2204
7 1933
87 1885
578 1703
2222 1143
3920 579
5685 0
2687 997
1739 1312
430 1740
137 1800
103 1790
29 1433
16 1140
6 876
14 93
203 12
1538 2

JOJ Answer

5685 0
9965 3
9998 156
9999 5666
9997 7763
9988 9213
9984 9675
9980 9747
9832 9997
6699 9999
623 9995
34 9959
25 9855
3 8962
0 3845
6 876
14 93
203 12
1538 2