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

0 1 30050 2 43470 4 34540 5 12410 6 41740 7 8980 9 45080 11 46590 16 72020 17 21350 19 1890 20 17870 21 21220 23 83790 24 25070 25 41700 26 37560 27 89770 28 9470 30 1230 31 5550 33 19310 35 28290 36 37500 37 2510 39 82840 40 16600 41 12360 43 40880 45 62770 48 40810 49 34860 50 65230 51 28180 52 12140 53 57470 54 65690 55 39010 57 15370 58 22470 60 6570 62 22300 63 72270 65 37090 66 90210 67 95570 68 12950 69 13720 70 56710 72 74400 74 61990 77 19740 78 62850 79 2510 80 86370 81 75200 82 50220 83 910 84 20760 85 63170 87 89700 88 28960 91 59170 92 90240 93 52940 95 16320 97 38300 98 40900 99 49610 100 68700 101 69410 102 38890 103 47670 105 54541 0 4981 3 64381 6 24211 8 60171 10 33741 11 68451 12 79041 13 43931 14 74471 15 60731 16 94551 21 11541 24 20191 25 35431 27 53721 29 31961 30 52911 31 531 33 27151 34 56871 35 32891 36 70671 37 18901 40 38441 41 92211 46 2241 48 4021 53 53631 54 5001 55 80101 56 12361 57 8521 58 86631 59 55751 60 77491 62 26511 63 52821 64 39501 66 61461 67 64081 68 75201 71 10961 7

JOJ Answer

1289
774
723
747
1007
652
365
722
805
155
831
544
706
361
764
514
882
1046
1045
885
441
1419
753
913
535
638
806
685
946
695
1257
629
1441
1400
833
589
824
612
864
727
955
249
414
824
800
691
475
774
913
638
687
353
940
1051
663
1171
670
813
345
655
718
271
951
619
745
386
433
644
759
320
762
360
710
1009
539
860
637
1216
603
1493
361
1485
998
297
659
432
775
739
603
935
1494
720
591
477
566
609
448
907
400
574
647
689
651
821
1058
678
439
693
668
748
825
437
617
705
776
588
1092
716
749
639
524
914
492
1200
849
700
477
650
774
459
673
695
621
788
857
757
742
457
662
762
1099
733
692
989
758
614
255
654
855
824
479
402
674
966
440
726
1016
367
519
1058
640
576
217
797
931
869
394
625
611
1169
427
498
527
874
314
646
749
817
768