Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==22982==ERROR: AddressSanitizer: SEGV on unknown address 0x10008e4d239a (pc 0x56383d12c409 bp 0x7fff4cd3cec0 sp 0x7fff4cd3cd70 T0) ==22982==The signal is caused by a READ memory access. #0 0x56383d12c408 in LOAD(Dlist<int>&, int const*) (/out/package/sam_mem+0x3408) #1 0x56383d12b389 in main (/out/package/sam_mem+0x2389) #2 0x7fc01491bb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x56383d12bbe9 in _start (/out/package/sam_mem+0x2be9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x3408) in LOAD(Dlist<int>&, int const*) ==22982==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