/ Test /

Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==57141==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051b8ab bp 0x7ffeca537330 sp 0x7ffeca537320 T0)
==57141==The signal is caused by a READ memory access.
==57141==Hint: address points to the zero page.
    #0 0x51b8aa  (/out/package/test_part1+0x51b8aa)
    #1 0x51db90  (/out/package/test_part1+0x51db90)
    #2 0x51dbd4  (/out/package/test_part1+0x51dbd4)
    #3 0x522cc4  (/out/package/test_part1+0x522cc4)
    #4 0x7f123c623b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #5 0x41efb9  (/out/package/test_part1+0x41efb9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1+0x51b8aa) 
==57141==ABORTING

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 1, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer


        

JOJ Answer

423 1784 615 
-728 -57 -1576 -1935 -1826 1649 561 -384 1117 1885 -1593 -194 -1966 816 1 
-696 -820 -1965 1966 -31 -1207 1166 756 -879 -1734 1893 1389 -1414 -294 -1829 -744 -1052 -480 -1963 -1483 224 -802 230 894 -1806 -1832 -1595 -1432 -979 291 1966 -640 -179 1938 993 534 9 -1427 1011 1253 1208 625 -1589 198 -1103 -508 -3 644 -178 4 640 -338 1901 111 1569 -1618 800 -1952 -1379 -595 1057 348 -579 904 -1089 -300 565 -114 -1770 -1174 -100 -149 1878 1390 1708 -1379 730 185 1154 -771 609 -827 1649 -776 -565 1172 -245 112 -1910 -1802 -680 -88 -947 -586 1911 1283 931 1495 -1088 1017 1315 -1894 -423 -210 185 1653 1360 -1392 -123 -1258 1747 -1394 1933 1006 1851 223 668 -1235 -1581 971 471 -1739 472 1405 -1350 -1791 1920 -1150 -16 846 253 -834 -1655 202 1247 -1751 98 1597 -1880 -931 1433 -1854 -1769 1284 -209 -909 806 1010 1819 1650 678 1627 789 743 -206 1220 -1447 504 -1184 -1695 1584 944 862 1463 1428 956 -1439 2 1935 -895 -1675 -1392 983 -591 -180 625 -1686 -626 581 -692 688 -496 -338 -554 -460 1445 724 55 1325 -711