Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==23778==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x56370c5602b8 bp 0x7ffcf6563fe0 sp 0x7ffcf6563bf0 T0) ==23778==The signal is caused by a READ memory access. ==23778==Hint: address points to the zero page. #0 0x56370c5602b7 in Dlist<int>::removeBack() (/out/package/sam_mem+0x52b7) #1 0x56370c55e3e2 in main (/out/package/sam_mem+0x33e2) #2 0x7f7379555b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x56370c55ed59 in _start (/out/package/sam_mem+0x3d59) AddressSanitizer can not provide additional info. SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x52b7) in Dlist<int>::removeBack() ==23778==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