Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==5419==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051b04b bp 0x7ffc9ec3a090 sp 0x7ffc9ec39b60 T0) ==5419==The signal is caused by a READ memory access. ==5419==Hint: address points to the zero page. #0 0x51b04a (/out/package/test_part1_new_memcheck+0x51b04a) #1 0x51eda8 (/out/package/test_part1_new_memcheck+0x51eda8) #2 0x521971 (/out/package/test_part1_new_memcheck+0x521971) #3 0x7f7a36222b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41d979 (/out/package/test_part1_new_memcheck+0x41d979) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1_new_memcheck+0x51b04a) ==5419==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 6987 13975 27951 27952 13976 27953 27954 nullptr nullptr nullptr nullptr
JOJ Answer
nullptr 6987 13975 27951 27952 13976 27953 27954 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 21881 43763 nullptr nullptr 43764 nullptr nullptr nullptr 10940 21881 43763 43764 21882 nullptr 43766 5470 10941 21883 21884 nullptr nullptr nullptr nullptr 52342 nullptr nullptr nullptr 26171 52343 nullptr nullptr 52344 nullptr nullptr 13085 26171 52343 52344 26172 52345 52346 nullptr nullptr nullptr nullptr 43292 nullptr nullptr nullptr 10239 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 3431 nullptr 6864 13729 nullptr nullptr 80819 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr