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

5685 0
9965 3
8774 6
9632 14
9577 15
8359 13
9427 42
8329 35
9655 64
9741 66
9547 79
7794 50
8968 86
9793 112
8657 94
9998 156
9452 145
9869 171
8167 108
9370 174
9910 204
9705 228
9802 254
9897 264
9683 293
9090 258
9196 274
9375 301
8548 235
7986 190
9634 335
9223 302
8758 267
9297 319
8506 251
9347 333
9447 346
9317 341
9933 403
9619 392
7997 232
8398 276
9277 370
8814 328
8536 299
8772 326
9274 383
9643 425
9740 437
9702 454
8948 379
9626 460
9964 511
7915 269
9155 428
9450 466
9515 489
8893 416
9564 509
9165 461
9405 504
9590 536
6928 177
9360 538
8563 431
9519 584
9664 635
8732 491
9847 678
8365 447
8290 438
9483 646
9518 665
9262 632
8587 516
9908 766
9432 688
9508 719
9253 675
9220 677
9972 841
9918 838
9706 806
8705 610
9389 765
9114 716
9046 712
8991 701
9412 796
9719 869
8939 708
8755 673
8764 684
9930 964
9313 832
9506 888
9717 948
8725 725
9442 921
9557 961
9150 875
9517 973
9652 1013
8946 836
9415 966
9862 1085
8325 687
9029 880
9207 931
9352 982
9691 1092
9649 1087
9648 1096
8826 870
9428 1051

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