Notes
This function is in beta test. Please help improve it in the issues
here.
Hints
Your answer may be identical to the JOJ answer in the first several lines.
However, the main problem you meet now is Time Exceeded. And the exit code of your program is -9, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
JOJ Answer
( -45897 -49001 55207 -43852 44384 6266 40965 31906 -10235 -53396 -55175 -49871 56325 -65004 29719 -8187 28030 15542 -16399 -28955 -44897 -42882 12105 -28493 48267 9349 -53314 -57208 -18737 -16973 25241 55106 -26570 -41362 49157 61685 -45137 42698 52312 -47912 53827 63514 -13541 1265 -58055 4492 -32642 -1877 49858 33720 -30951 -5258 -33846 -48223 36547 60213 -12280 -5493 -2922 -33300 -56336 4521 38541 20961 -19407 -50986 48 -27331 -7671 -33886 -5329 -16289 1733 -20972 -28230 -55038 -44553 42627 -38833 10957 -25180 -15464 2160 49481 -18040 -9756 7737 -60859 -61256 -29196 -21585 24946 47328 4237 44243 47478 -54203 53337 40877 2868 -54163 -9892 -47353 -37465 -33424 -52027 -63693 -22552 -15133 -44578 -36132 28836 -35384 48628 958 -48982 18599 1307 12927 39193 -41851 -52155 11404 -27558 -22483 13475 -10453 45112 38768 3098 28986 14318 64722 -63174 18783 -22869 -14608 40516 -52000 -58341 -55827 -47635 20037 -29430 -5611 55047 7337 54454 -27279 -32102 -46263 29214 -41997 -61577 -41687 44163 57222 39799 -64033 -25063