Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==7683==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000051ad48 bp 0x7fff384f4830 sp 0x7fff384f4310 T0) ==7683==The signal is caused by a READ memory access. ==7683==Hint: address points to the zero page. #0 0x51ad47 (/out/package/test_part1_new_memcheck+0x51ad47) #1 0x51ea5d (/out/package/test_part1_new_memcheck+0x51ea5d) #2 0x520a31 (/out/package/test_part1_new_memcheck+0x520a31) #3 0x7f334ff15b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41da09 (/out/package/test_part1_new_memcheck+0x41da09) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1_new_memcheck+0x51ad47) ==7683==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
19 nullptr nullptr 17 35 nullptr nullptr 36 nullptr nullptr 9 19 nullptr nullptr 20 nullptr nullptr 4 9 19 20 nullptr 27 nullptr nullptr nullptr nullptr
JOJ Answer
19 nullptr nullptr 17 35 nullptr nullptr 36 nullptr nullptr 9 19 nullptr nullptr 20 nullptr nullptr 4 9 19 20 nullptr 27 nullptr nullptr nullptr nullptr 8 17 35 36 18 nullptr nullptr nullptr 4 9 19 20 nullptr 2 5 nullptr 12 6 13 14 nullptr 34 nullptr nullptr nullptr 18 nullptr nullptr 18 nullptr nullptr 9 19 nullptr nullptr 20 nullptr nullptr 4 9 19 20 nullptr 27 nullptr nullptr nullptr nullptr 6 13 27 nullptr 14 29 30 30 nullptr nullptr 3 7 15 16 8 17 18 1 3 7 8 4 9 nullptr 33 nullptr nullptr 35 nullptr nullptr nullptr 14 29 nullptr nullptr 30 nullptr nullptr nullptr 7 15 nullptr nullptr 16 33 34 3 7 15 16 8 17 18 29 nullptr nullptr 33 nullptr nullptr nullptr nullptr 4 9 19 20 nullptr 16 33 nullptr nullptr 34 nullptr nullptr 8 17 35 36 18 nullptr nullptr 20 nullptr nullptr nullptr nullptr 1 3 7 8 4 9 nullptr 35 nullptr nullptr 0 1 3 4 2 5 6 0 1 3 4 2 5 6 36 nullptr nullptr 36 nullptr nullptr nullptr 2 5 nullptr 12 6 13 14 34 nullptr nullptr 1 3 7 8 4 9 nullptr 0 1 3 4 2 5 6 35 nullptr nullptr 36 nullptr null