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

5150 1
9965 3
8774 6
7228 9
9632 14
9577 15
8575 27
8232 29
6435 25
8329 35
9427 42
8811 51
6541 41
7794 50
9655 64
9741 66
8521 61
7765 63
9547 79
7224 67
8968 86
7027 69
7105 72
9141 96
9793 112
6417 77
7155 91
4494 58
8167 108
6564 90
5180 73
4787 68
9147 135
7536 115
9452 145
9998 156
7351 124
8982 154
9869 171
8525 149
9370 174
9910 204
6965 146
7815 165
9399 203
9422 210
5714 129
8318 192
9705 228
6743 160
7986 190
8147 200
8001 197
9545 238
6928 177
9802 254
9897 264
8548 235
8100 225
6341 178
9090 258
6769 193
8581 249
9196 274
9683 293
8758 267
8870 272
5548 173
9375 301
8394 270
9223 302
8856 291
8824 297
8763 298
9297 319
9634 335
9347 333
9447 346
8772 326
8814 328
5549 208
8494 322
8178 323
9277 370
9933 403
9619 392
8276 338
9274 383
5810 241
8386 351
8948 379
8399 361
6271 271
7615 331
9643 425
8623 385
9740 437
8618 389
9588 436
5345 246
9155 428
9702 454
8181 386
9626 460
8114 393
9450 466
8932 441
5964 296
8228 410
8092 405
7930 398
9165 461
8563 431
7768 394
6991 356
9964 511
8733 451
8290 

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