Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==22585==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffe41cf68d4 (pc 0x561cc1f30214 bp 0x7ffd1c361ac0 sp 0x7ffd1c361920 T0) ==22585==The signal is caused by a READ memory access. #0 0x561cc1f30213 in LOAD(Dlist<int>&, int*) (/out/package/sam_mem+0x3213) #1 0x561cc1f2f2ce in main (/out/package/sam_mem+0x22ce) #2 0x7f31e0929b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x561cc1f2fb19 in _start (/out/package/sam_mem+0x2b19) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x3213) in LOAD(Dlist<int>&, int*) ==22585==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
JOJ Answer
2106607265 2008170449 2106607265 696494789 1922996088 1206796592 2078592849 2008170449 987260430 1426401410 2128099529 1030192639 2114244685 1607996649 -2142486486 1490980803 2008170449