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 2 -60 3 23550 4 35030 6 -40 8 14370 9 12310 10 -70 11 37580 12 94070 13 49440 15 40290 17 102220 19 38060 20 -90 21 93610 22 53530 23 -70 24 31040 25 58720 26 39610 27 31220 28 -70 29 58190 30 45420 31 52900 32 24110 33 20450 34 93760 35 102560 36 30170 37 62120 38 85480 39 18450 40 100210 43 101500 44 65030 45 91980 46 -60 47 35630 48 75620 50 62320 51 26050 52 10130 53 33770 54 -60 56 13710 58 77550 59 81920 60 32770 61 49590 62 48520 63 41840 64 -50 65 -20 66 15460 67 23760 68 17340 69 88500 70 71050 71 -80 72 67700 73 35710 74 -20 75 98500 76 15000 78 63500 79 52960 80 16160 81 26170 82 25770 83 44780 84 16090 85 98760 86 40320 87 27590 88 50120 89 21880 90 43370 92 95230 93 12200 96 87060 97 32100 98 18300 99 96650 100 83560 101 59750 102 24310 103 103040 104 47290 105 44520 106 -30 107 38060 108 45910 109 11380 110 53550 111 -10 112 44950 113 48450 114 30320 115 10210 116 53400 117 39610 118 62140 119 76290 120 -70 121 96150 122 -20 123 99510 124 74630 125 44400 126 89600 127 10730 128 54520 130 59460

JOJ Answer

-12
-149
874
-184
830
910
810
921
-80
824
845
837
1334
-176
922
999
1004
1720
916
1515
927
995
855
1183
-61
-93
790
-104
848
911
783
1208
891
991
-17
846
-143
781
-65
-164
840
-174
-116
802
1054
790
-45
826
824
828
1079
872
-22
949
-40
-76
872
794
982
842
772
-14
792
-27
-91
-16
-171
-82
872
938
-42
1114
-10
1906
837
788
-151
-26
917
-58
859
892
905
796
-34
871
-185
771
848
-171
816
993
997
-35
-129
-226
-162
1216
994
-142
884
871
804
963
841
820
-114
904
-27
-97
843
889
-34
1065
784
819
-35
989
1156
922
-136
928
922
831
789
925
-165
-151
-180
859
-13
887
858
907
936
933
916
834
868
-122
-13
-75
-98
899
-69
813
-11
818
781
804
843
-45
-7
791
-42
-15
786
817
-26
1086
-170
817
1095
-164
888
791
883
784
-164
811
-106
987
876
1001
892
-25
-20
930
-21
956
917
808
933
-28
-20
-60
792
902
-20
-41
860
-82
926
1054
865
-34
-152
-9
-33
865
-35
835
872
851
821
959
-200
-99
908
-163
1089
959
815
854
1005
-49
880
-100
835
-38
-93
-109
1149
802
796
941
-143
779
928
828
816
-151
-68
917
778
-174
894
-94
895
780
780
-59
885