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 Time 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

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