Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==9344==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x00000051b0f0 bp 0x7ffda7fe0cf0 sp 0x7ffda7fe07c0 T0) ==9344==The signal is caused by a READ memory access. ==9344==Hint: address points to the zero page. #0 0x51b0ef (/out/package/test_part1_new_memcheck+0x51b0ef) #1 0x520888 (/out/package/test_part1_new_memcheck+0x520888) #2 0x523451 (/out/package/test_part1_new_memcheck+0x523451) #3 0x7f7323fa3b96 (/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+0x51b0ef) ==9344==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
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