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

195
31293
2147483647 2147483647 10465 8762 1442 9874 5104 2147483647 9648 5024 1366 -3 10278 3514 4747 2147483647 2147483647 2147483647 1420 9753 2147483647 6753 2147483647 2618 3673 -1 2229 2391 5216 2147483647 3813 2040 7276 8796 7053 2701 3986 10522 2147483647 3732 5467 3830 6085 6529 8465 6487 9638 1396 6613 1160 2839 -6 2147483647 9689 2147483647 8178 7000 3829 3072 2147483647 10208 6610 3274 4984 4424 3319 7554 2147483647 7934 2147483647 10306 7476 1137 -10 4934 6604 3170 1594 6667 8647 3690 8308 1254 1648 1519 10500 2147483647 2147483647 4543 3621 3587 2285 7261 6849 4386 4605 2845 2147483647 2147483647 8538 3014 9927 2147483647 5787 1222 8518 8581 4531 7962 -7 1804 4837 2147483647 9309 5335 10078 5023 5290 5117 8428 2147483647 4807 9356 9040 -7 5532 -7 2262 6393 7399 2147483647 -5 1036 10480 4982 2863 2496 9973 7415 9227 -6 2147483647 1726 10054 10307 4975 3679 7217 2147483647 10511 2147483647 8455 -8 6463 4780 5087 2147483647 3881 10553 1189 2614 2138 -5 3906 5996 1287 6776 -5 8647 1108 2147483647 88

JOJ Answer

-106
-86
-102
-105
1028
864
-84
865
853
982
-12
1431
996
908
1135
-13
-42
1066
897
939
945
-14
-136
877
1060
915
-29
1930
862
2060
-49
918
920
-9
1012
933
-117
899
-56
-119
864
-120
864
964
887
889
-94
-116
-136
956
1701
-51
-24
-27
-8
941
968
-25
-24
-118
936
2049
877
-98
-50
-14
-30
871
997
868
1089
-124
894
-60
944
968
928
888
1001
-11
878
856
-106
-55
940
883
-171
924
-38
-75
1644
-70
1739
-55
852
876
-70
1155
-91
1044
968
955
929
955
1183
1427
958
-33
-65
859
891
-153
-15
927
-73
-44
860
861
940
1048
885
903
1722
-65
904
880
-24
911
958
939
909
945
955
903
-80
906
985
-93
1004
858
-41
-25
968
-43
1095
908
901
942
976
-38
-12
-72
1930
-97
-22
880
901
-111
-103
1045
-56
917
1689
990
-162
-41
922
953
1026
-24
1807
-38
1335
948
997
-91
1059
844
909
941
-15
-114
-118
1029
-81
975
867
855
-48
876
906
-94
1052
-129
969
1727
1065
-43
981
885
-90
-118
1008
-36
937
876
987
1360
-14
896
1020
-89
936
-82
884
928
-68
-64
984
-106
942
-42
953
860
1265
-33
-16
-152
-120
891
-8
930
890
838
1947
854
1052
908
2129
-23
996