/ Test /

Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==58472==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051ba3b bp 0x7fff0d6df290 sp 0x7fff0d6df270 T0)
==58472==The signal is caused by a READ memory access.
==58472==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 0x7f988b6d1b96  (/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) 
==58472==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

-1316 1683 
1294 699 -114 1192 867 707 -528 683 1458 -1324 -795 -43 -411 692 -1330 1320 -395 640 -1780 -1143 82 1781 1260 -1342 -1711 -1033 -1992 -339 -491 -976 1247 -759 -735 -496 -626 1270 -1058 -1872 833 1663 -1322 115 -1238 405 -1373 1808 -207 145 1590 -90 -869 1023 802 1499 -543 -944 360 1215 863 -468 692 -1772 -952 -1772 -645 165 1314 374 -953 -1072 948 -1146 1354 -189 -1295 213 -1829 -406 651 667 -258 -575 -1001 531 178 -155 1770 -134 -1539 -379 831 135 -257 1171 -1728 -268 -395 -167 723 -441 1452 605 -784 56 -1668 -1299 1127 1126 -1139 506 377 1200 -1160 1930 1569 -261 -310 1687 479 696 -1635 -148 -1133 -1190 1374 -668 424 
1468 -119 -542 -822 1723 -1787 866 1615 -1529 379 736 -353 1180 1902 -418 605 798 1753 -1459 -1993 -1955 -86 1311 -1564 -253 -1461 1620 -9 330 894 1039 1977 -451 -286 -157 1339 -1350 1925 -1898 832 -1527 -687 -924 1683 -30 1052 1876 223 1780 153 -125 -1555 586 -74 1104 722 1522 -1318 -515 -810 -1234 1851 1160 1374 1822 121 1033 1476 -28 279 -692 -600 841 -1480 1483 -1788 1281 -1231