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
4242 140
9837 388
6623 281
4740 229
8379 409
7275 405
4131 244
3628 216
7223 445
9603 616
8882 597
4978 350
9351 714
7559 594
9897 813
9662 825
9984 888
9932 900
7146 669
6192 586
7766 767
7245 778
8366 928
7618 853
9070 1057
8200 992
2633 327
9544 1285
9348 1339
9745 1460
9836 1551
9157 1457
5099 816
7450 1267
7554 1299
7560 1303
8324 1441
8410 1508
5045 915
6861 1312
7556 1450
5831 1169
7640 1537
8506 1738
7259 1494
8867 1882
9947 2166
9129 2015
6942 1547
9578 2138
9889 2244
8589 1961
4889 1121
5971 1381
7159 1679
7579 1798
7068 1696
9923 2420
5143 1271
4757 1196
8779 2249
8857 2275
8631 2358
6452 1799
7504 2140
4696 1350
6949 2013
9375 2756
8756 2597
9545 2865
7273 2238
8855 2746
8449 2634
7683 2462
8642 2813
9452 3089
6951 2282
8033 2659
9715 3236
9858 3338
8060 2773
9721 3392
5689 2075
8979 3331
3043 1160
8049 3113
8261 3233
9331 3733
8978 3625
8391 3391
9354 3793
9189 3734
9007 3700
8335 3456
9937 4179
8390 3531
9474 4051
7270 3119
8922 3865
5885 2555
7637 3341
5870 2599
9315 4199
8134 3716
9182 4

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