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

122 3
3787 21
6509 85
9090 167
9837 388
9984 888
9956 4817
9941 6080
9912 8498
9905 8528
9799 8841
9488 9545
9033 9816
8623 9982
7289 9987
5973 9990
3358 9942
2229 9917
57 9738
48 8375
3 1531
4740 229
8379 409
8905 1408
9685 5005
9820 9085
2321 9944
936 9818
786 9707
363 5729

JOJ Answer

122 3
3787 21
6509 85
9090 167
9837 388
9984 888
9956 4817
9941 6080
9912 8498
9820 9085
9488 9545
9033 9816
8623 9982
7289 9987
5973 9990
2321 9944
936 9818
57 9738
48 8375
3 1531