Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==23635==ERROR: AddressSanitizer: SEGV on unknown address 0x606125994db4 (pc 0x563eca18dee7 bp 0x602000000dd0 sp 0x7ffd80116cc0 T0) ==23635==The signal is caused by a READ memory access. #0 0x563eca18dee6 in manageInstruct(Dlist<int>*&, Dlist<Instr>*&, int*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) (/out/package/sam_mem+0x4ee6) #1 0x563eca18b66d in main (/out/package/sam_mem+0x266d) #2 0x7fc20c3d2b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x563eca18c019 in _start (/out/package/sam_mem+0x3019) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x4ee6) in manageInstruct(Dlist<int>*&, Dlist<Instr>*&, int*&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >) ==23635==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