/ Test /

Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==57135==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051ba3b bp 0x7ffe854a84f0 sp 0x7ffe854a84d0 T0)
==57135==The signal is caused by a READ memory access.
==57135==Hint: address points to the zero page.
    #0 0x51ba3a  (/out/package/test_part1+0x51ba3a)
    #1 0x51d458  (/out/package/test_part1+0x51d458)
    #2 0x51d4d1  (/out/package/test_part1+0x51d4d1)
    #3 0x522c66  (/out/package/test_part1+0x522c66)
    #4 0x7f558204ab96  (/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+0x51ba3a) 
==57135==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

1380 -926 -1390 1553 -1296 1895 751 1013 300 466 -1703 365 1184 28 442 -1354 773 1269 -346 1452 408 -191 -192 745 1047 1945 1927 214 914 -1434 1381 -1246 1709 -1220 1941 1311 -1946 1207 -1468 -1774 -1741 1828 1049 1172 1559 130 -1817 1757 -127 1754 1438 -1337 1084 -452 -619 938 53 -1969 631 -1123 38 482 -82 -863 -487 1764 1560 -1259 1614 -299 67 782 -851 -1056 239 -714 -886 153 -570 466 295 -256 -1143 -191 315 527 901 -1781 -1291 -233 1178 1664 -1521 -1433 1933 -1771 989 938 1614 -357 882 -400 -1436 1547 -852 -633 906 -393 473 1943 1079 1665 -469 1976 -673 1246 263 1599 304 -1234 -1658 -1208 741 579 -1830 137 1798 1379 -1353 887 639 111 -958 -546 1622 1000 -840 -1683 1007 -1696 1102 -1839 1155 -422 236 -1186 284 950 -453 -940 -921 835 -804 1410 -1694 1455 1718 -897 -601 1428 -950 -1948 1487 -1284 1131 -1105 688 -1282 -1916 902 -940 -1044 -1329 1838 1935 -962 -542 -1878 -310 84 -394 -1516 463 1978 -1465 -1481 -891 -1970 -1978 -381 -816 -1203 -1862 -974 479 -1899 1677 1452 1367 -19 -728 -1734 523 1687 -236 -197