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 42270 3 41790 4 44250 5 85140 8 10620 9 91700 11 34410 12 74790 13 88040 14 48490 15 79380 17 104770 18 -80 19 94550 20 96530 23 46980 24 21490 25 94410 26 82750 29 22280 30 21010 31 23180 33 88210 34 25080 36 77520 37 25550 38 37290 41 20070 42 87070 43 99610 44 33270 48 63990 49 14460 51 102920 54 87620 56 10830 57 83870 58 36910 59 100680 60 14210 61 46540 62 20630 64 71000 65 12670 67 41190 68 91570 69 47030 71 13120 72 84220 73 84380 79 76030 80 41520 83 43000 84 30240 86 42040 87 44250 88 104490 89 35820 90 50990 92 38680 93 28090 94 57340 95 48990 97 81780 98 48120 99 -50 100 -100 101 101110 102 57770 104 51640 105 69820 107 52510 108 71600 109 42570 112 52450 113 71160 115 67550 116 11350 118 63220 121 22920 122 30990 123 37680 125 68610 127 47950 128 28980 129 29080 130 86290 131 99210 132 63360 133 14680 134 18840 135 18600 137 17260 138 53860 139 104620 140 90060 144 70960 146 68730 147 47070 151 41280 152 34490 154 100700 157 14050 159 10430 161 11690 163 -60 164 69391 0 102001 2 -31 4 98121 5

JOJ Answer

1033
1128
973
936
987
1073
958
1079
1074
-21
-41
886
-72
937
914
-67
912
1073
938
-15
-27
913
989
929
941
-33
952
-84
1454
-19
1068
-84
983
910
983
1134
906
902
930
1132
947
1500
934
1070
899
-17
1114
1266
935
943
1727
1345
2113
1040
1308
992
988
950
1120
-70
1725
-21
2067
-33
1008
1286
-36
1402
2161
974
-51
-23
929
935
2047
1617
-26
933
959
-22
961
2345
967
938
971
-79
1392
2013
-29
1136
2240
1077
1091
-9
1241
-19
1256
2207
1348
1354
1035
925
947
958
-6
-18
1532
1308
1095
1029
1380
907
1289
1063
-32
-47
-23
1161
-14
1402
898
2101
-30
933
-60
968
-32
891
914
-42
939
-2
2226
1001
-37
-35
1438
1199
-45
-48
959
979
962
1863
1721
943
-33
1236
1217
1030
-27
-2
1135
-19
1106
1146
933
903
996
1073
949
-7
1162
1002
1721
-34
994
-87
-25
986
1016
-49
1291
1033
1425
1026
1766
1065
973
905
1002
912
1054
1054
1156
982
967
1057
967
1062
920
1052
905
914
1523
912
-21
1114
918
969
2079
927
904
1461
-23
932
901
924
926
1299
977
1002
-72
-26
1731
901
2588
991
1018
921
1145
1049
1094
1541
-32
-3
908
2016
2088
940
933
-33
1482
-