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 Runtime Error. And the exit code of your program is -8, which should be 0.
Please double check your code to solve this problem and try again.
Your Answer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
JOJ Answer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 Affected 9 rows. 44 Affected 65535 rows. 45 ANSWER = ( 163150 ) 46 Affected 1 rows. 47 Affected 1 rows. 48 ( r10 -846 329 -394 -394 -846 12 -846 ) 49 ( r0 -267 -622 -927 -622 -267 ) ( r1 500 -193 506 -193 500 ) ( r100 -195 468 131 468 -195 ) ( r1001 -704 -38 -796 -38 -704 ) ( r1003 -586 -578 -696 -578 -586 ) ( r1007 576 -423 -179 -423 576 ) ( r100B -822 599 858 599 -822 ) ( r100E 492 404 490 404 492 ) ( r1015 292 386 -645 386 292 ) ( r1018 -509 -502 -474 -502 -509 ) ( r1019 65 -164 -605 -164 65 ) ( r101A -231 777 -643 777 -231 ) ( r101E -408 876 273 876 -408 ) ( r1022 877 -850 403 -850 877 ) ( r1023 -664 929 464 929 -664 ) ( r1025 -111 -67 -501 -67 -111 ) ( r1028 216 -817 -807 -817 216 ) ( r1029 -258 -80 -145 -80 -258 ) ( r102C -92 974 -448 974 -92 ) ( r102F 670 -97 203 -97 670 ) ( r1030 -965 -724 -725 -724 -965 ) ( r1031 -294 -98 -371 -98 -294 ) ( r1034 -480 642 652 642 -480 ) ( r1036 894