Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==23680==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000051b408 bp 0x7ffc1f9c9410 sp 0x7ffc1f9c8ef0 T0) ==23680==The signal is caused by a READ memory access. ==23680==Hint: address points to the zero page. #0 0x51b407 (/out/package/test_part1_new_memcheck+0x51b407) #1 0x5208c2 (/out/package/test_part1_new_memcheck+0x5208c2) #2 0x522891 (/out/package/test_part1_new_memcheck+0x522891) #3 0x7fb8d9a82b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41dd89 (/out/package/test_part1_new_memcheck+0x41dd89) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1_new_memcheck+0x51b407) ==23680==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
nullptr nullptr 12 25 51 nullptr nullptr 6 nullptr 14 29 30 nullptr nullptr nullptr
JOJ Answer
nullptr nullptr 12 25 51 nullptr nullptr 6 nullptr 14 29 30 nullptr nullptr nullptr nullptr nullptr nullptr 14 29 59 60 30 nullptr 62 71 nullptr nullptr nullptr nullptr 36 nullptr nullptr nullptr 18 37 nullptr 76 38 nullptr 78 9 19 39 40 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 78 nullptr nullptr nullptr 5 11 23 nullptr 12 25 nullptr nullptr 2 5 11 12 6 nullptr 14 1 3 7 8 4 9 nullptr 97 nullptr nullptr nullptr nullptr 11 23 47 48 nullptr nullptr 5 11 23 nullptr 12 25 nullptr 2 5 11 12 6 nullptr 14 nullptr 97 nullptr nullptr nullptr 25 51 nullptr nullptr nullptr nullptr 12 25 51 nullptr nullptr 6 nullptr 14 29 30 nullptr nullptr nullptr 59 nullptr nullptr 40 nullptr 82 nullptr nullptr 29 59 nullptr nullptr 60 nullptr nullptr 14 29 59 60 30 nullptr 62 nullptr nullptr nullptr 40 nullptr 82 nullptr nullptr 59 nullptr nullptr nullptr nullptr 79 nullptr nullptr nullptr nullptr 95 nullptr nullptr 4 9 19 nullptr nullptr 47 95 nullptr nullptr 96 nullptr nullptr 23 47 95 96 48 97 nullptr