Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==24704==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x555ba0e1123a bp 0x7ffae91e20c0 sp 0x7ffcf9222ad0 T0) ==24704==The signal is caused by a WRITE memory access. ==24704==Hint: address points to the zero page. #0 0x555ba0e11239 in Dlist<int>::removeBack() (/out/package/sam_mem+0x5239) #1 0x555ba0e0f0ba in main (/out/package/sam_mem+0x30ba) #2 0x7ffae8873b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x555ba0e10ad9 in _start (/out/package/sam_mem+0x4ad9) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x5239) in Dlist<int>::removeBack() ==24704==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
POP 98789890 60443689 PUSHI 13 STORE POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PUSHI 0 IFZ 21 IFZ 20 ADD POP POP HALT LOAD NOOP STORE STORE ADD STORE ADD ADD HALT STORE HALT STORE POP NOOP ADD IFZ 24 PUSHI 559789598 PUSHI 3 LOAD NOOP NOOP PUSHI 2 STORE POP PUSHI 0 IFZ 2 ADD NOOP POP PUSHI 690254417 PUSHI 14 STORE NOOP PUSHI 5 LOAD HALT 26346560 23782814 71448369 47455713 77024594 88410581 2279202 63785819 85881845 84627026 91276717 80875847 46437728 10120281 60792689 86250600 PUSHI 13 98789890 60443689 13 STORE POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PUSHI 0 IFZ 21 IFZ 20 ADD POP POP HALT LOAD NOOP STORE STORE ADD STORE ADD ADD HALT STORE HALT STORE POP NOOP ADD IFZ 24 PUSHI 559789598 PUSHI 3 LOAD NOOP NOOP PUSHI 2 STORE POP PUSHI 0 IFZ 2 ADD NOOP POP PUSHI 690254417 PUSHI 14 STORE NOOP PUSHI 5 LOAD HALT 26346560 23782814 71448369 47455713 77024594 88410581 2279202 63785819 85881845 84627026 91276717 80875847 46437728 10120281 60792689 86250600 STORE 98789890 POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PU
JOJ Answer
POP 98789890 60443689 PUSHI 13 STORE POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PUSHI 0 IFZ 21 IFZ 20 ADD POP POP HALT LOAD NOOP STORE STORE ADD STORE ADD ADD HALT STORE HALT STORE POP NOOP ADD IFZ 24 PUSHI 559789598 PUSHI 3 LOAD NOOP NOOP PUSHI 2 STORE POP PUSHI 0 IFZ 2 ADD NOOP POP PUSHI 690254417 PUSHI 14 STORE NOOP PUSHI 5 LOAD HALT 26346560 23782814 71448369 47455713 77024594 88410581 2279202 63785819 85881845 84627026 91276717 80875847 46437728 10120281 60792689 86250600 PUSHI 13 98789890 60443689 13 STORE POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PUSHI 0 IFZ 21 IFZ 20 ADD POP POP HALT LOAD NOOP STORE STORE ADD STORE ADD ADD HALT STORE HALT STORE POP NOOP ADD IFZ 24 PUSHI 559789598 PUSHI 3 LOAD NOOP NOOP PUSHI 2 STORE POP PUSHI 0 IFZ 2 ADD NOOP POP PUSHI 690254417 PUSHI 14 STORE NOOP PUSHI 5 LOAD HALT 26346560 23782814 71448369 47455713 77024594 88410581 2279202 63785819 85881845 84627026 91276717 80875847 46437728 10120281 60792689 86250600 STORE 98789890 POP NOOP PUSHI 1870206906 NOOP NOOP NOOP PU