Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==6145==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000051ada8 bp 0x7ffe9c088070 sp 0x7ffe9c087b50 T0) ==6145==The signal is caused by a READ memory access. ==6145==Hint: address points to the zero page. #0 0x51ada7 (/out/package/test_part1_new_memcheck+0x51ada7) #1 0x51eb42 (/out/package/test_part1_new_memcheck+0x51eb42) #2 0x520b11 (/out/package/test_part1_new_memcheck+0x520b11) #3 0x7f01bc8c4b96 (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #4 0x41da69 (/out/package/test_part1_new_memcheck+0x41da69) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1_new_memcheck+0x51ada7) ==6145==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
3312 nullptr nullptr nullptr nullptr 828 nullptr 1658 nullptr 3318 nullptr nullptr nullptr
JOJ Answer
3312 nullptr nullptr nullptr nullptr 828 nullptr 1658 nullptr 3318 nullptr nullptr nullptr nullptr 779 1559 3119 3120 1560 3121 3122 1785 nullptr 3572 nullptr nullptr 892 1785 nullptr 3572 nullptr nullptr nullptr nullptr nullptr 159 319 639 640 320 nullptr 642 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 4020 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 3559 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 1006 2013 4027 4028 2014 4029 nullptr 1672 3345 nullptr nullptr 3346 nullptr nullptr 836 1673 3347 3348 1674 nullptr 3350 nullptr nullptr nullptr nullptr nullptr nullptr nullptr nullptr 3439 nullptr nullptr nullptr 21 43 nullptr 88 44 89 nullptr nullptr 10 21 43 44 22 45 46 5 11 23 24 12 25 26 nullptr nullptr nullptr 50 101 203 204 102 nullptr 206 nullptr 25 51 103 nullptr 52 nullptr 106 12 25 51 52 26 53 54 nullptr nullptr nullptr