Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==23751==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffdcfbfaac4 (pc 0x56427eaf07a4 bp 0x7ffcaa265c70 sp 0x7ffcaa265a30 T0) ==23751==The signal is caused by a READ memory access. #0 0x56427eaf07a3 in load_function(Dlist<int>&, int*) (/out/package/sam_mem+0x47a3) #1 0x56427eaee921 in main (/out/package/sam_mem+0x2921) #2 0x7f3f334cbb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x56427eaef619 in _start (/out/package/sam_mem+0x3619) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x47a3) in load_function(Dlist<int>&, int*) ==23751==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