Notes
This function is in beta test. Please help improve it in the issues
here.
ASAN:DEADLYSIGNAL ================================================================= ==24708==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55fbc608b23a bp 0x602000001b90 sp 0x7ffdc591c870 T0) ==24708==The signal is caused by a WRITE memory access. ==24708==Hint: address points to the zero page. #0 0x55fbc608b239 in Dlist<int>::removeBack() (/out/package/sam_mem+0x5239) #1 0x55fbc6088f8b in main (/out/package/sam_mem+0x2f8b) #2 0x7fee2daf8b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96) #3 0x55fbc608aad9 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() ==24708==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
PUSHI 1649711916 93228260 92568512 58348932 42447982 28784986 13050415 45149713 28958753 56552544 50581226 1649711916 POP ADD POP PUSHI 841201080 NOR PUSHI 8 STORE NOR ADD ADD ADD NOR NOR NOOP PUSHI 2091405970 POP PUSHI 1998913879 NOR NOOP PUSHI 444469058 PUSHI 3 LOAD NOOP NOR PUSHI 233034299 NOR PUSHI 11 LOAD POP PUSHI 4 STORE PUSHI 55044502 POP PUSHI 10 STORE PUSHI 12 LOAD NOOP PUSHI 9 STORE PUSHI 1363014917 NOOP IFZ 29 NOOP NOOP PUSHI 2 LOAD IFZ 7 PUSHI 12 LOAD PUSHI 8 STORE PUSHI 11 LOAD IFZ 13 NOOP PUSHI 495927816 PUSHI 360636001 PUSHI 700663831 PUSHI 43091797 PUSHI 1663146068 IFZ 14 NOOP POP NOR NOOP NOR POP PUSHI 7 LOAD IFZ 24 NOOP PUSHI 1865236957 PUSHI 6 LOAD IFZ 1 PUSHI 14 LOAD IFZ 16 PUSHI 3 LOAD NOR POP PUSHI 1991931052 PUSHI 1673717628 NOOP POP IFZ 8 NOOP NOOP NOOP PUSHI 1485088237 PUSHI 14 LOAD PUSHI 6 STORE PUSHI 2 STORE NOOP NOOP NOOP PUSHI 299926287 PUSHI 4 LOAD POP PUSHI 0 IFZ 22 NOOP POP ADD NOR IFZ 26 STORE IFZ 22 POP PUSHI 838976936 LOAD STORE IFZ 24 STORE HALT NOR STORE PUSHI 1728076963
JOJ Answer
PUSHI 1649711916 93228260 92568512 58348932 42447982 28784986 13050415 45149713 28958753 56552544 50581226 1649711916 POP ADD POP PUSHI 841201080 NOR PUSHI 8 STORE NOR ADD ADD ADD NOR NOR NOOP PUSHI 2091405970 POP PUSHI 1998913879 NOR NOOP PUSHI 444469058 PUSHI 3 LOAD NOOP NOR PUSHI 233034299 NOR PUSHI 11 LOAD POP PUSHI 4 STORE PUSHI 55044502 POP PUSHI 10 STORE PUSHI 12 LOAD NOOP PUSHI 9 STORE PUSHI 1363014917 NOOP IFZ 29 NOOP NOOP PUSHI 2 LOAD IFZ 7 PUSHI 12 LOAD PUSHI 8 STORE PUSHI 11 LOAD IFZ 13 NOOP PUSHI 495927816 PUSHI 360636001 PUSHI 700663831 PUSHI 43091797 PUSHI 1663146068 IFZ 14 NOOP POP NOR NOOP NOR POP PUSHI 7 LOAD IFZ 24 NOOP PUSHI 1865236957 PUSHI 6 LOAD IFZ 1 PUSHI 14 LOAD IFZ 16 PUSHI 3 LOAD NOR POP PUSHI 1991931052 PUSHI 1673717628 NOOP POP IFZ 8 NOOP NOOP NOOP PUSHI 1485088237 PUSHI 14 LOAD PUSHI 6 STORE PUSHI 2 STORE NOOP NOOP NOOP PUSHI 299926287 PUSHI 4 LOAD POP PUSHI 0 IFZ 22 NOOP POP ADD NOR IFZ 26 STORE IFZ 22 POP PUSHI 838976936 LOAD STORE IFZ 24 STORE HALT NOR STORE PUSHI 1728076963