Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==8272==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051afd0 bp 0x7fff976ea170 sp 0x7fff976e9c40 T0) ==8272==The signal is caused by a READ memory access. ==8272==Hint: address points to the zero page. #0 0x51afcf (/out/package/test_part1_new_memcheck+0x51afcf) #1 0x51e8e8 (/out/package/test_part1_new_memcheck+0x51e8e8) #2 0x5214b1 (/out/package/test_part1_new_memcheck+0x5214b1) #3 0x7ff58b2e5b96 (/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+0x51afcf) ==8272==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 15 nullptr 32 65 nullptr 7 15 nullptr 32 16 33 34 nullptr 116 nullptr nullptr
JOJ Answer
nullptr nullptr 15 nullptr 32 65 nullptr 7 15 nullptr 32 16 33 34 nullptr 116 nullptr nullptr nullptr nullptr nullptr nullptr nullptr 88 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 112 nullptr nullptr nullptr nullptr 16 33 67 nullptr 34 69 70 nullptr nullptr 70 nullptr nullptr nullptr nullptr 7 15 nullptr 32 16 33 34 116 nullptr nullptr 3 7 15 16 nullptr 1 3 7 nullptr 4 9 10 nullptr nullptr nullptr 16 33 67 nullptr 34 69 70 nullptr nullptr 4 9 19 20 10 21 nullptr 115 nullptr nullptr nullptr nullptr nullptr nullptr nullptr 9 19 39 40 20 41 42 nullptr nullptr nullptr 88 nullptr nullptr nullptr 44 89 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 43 87 nullptr nullptr 88 nullptr nullptr 21 43 87 88 44 89 nullptr 80 nullptr nullptr nullptr nullptr nullptr 42 85 nullptr nullptr nullptr 40 nullptr nullptr 20 41 83 84 42 85 nullptr 83 nullptr nullptr nullptr nullptr