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
6509 85
9090 167
9837 388
9984 888
9836 1551
9129 2015
122 3
5670 1158
8867 1882
9947 2166
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

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