Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==22690==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5598af8e2aea bp 0x7ffdec4bdca0 sp 0x7ffdec4bd4c0 T0)
==22690==The signal is caused by a READ memory access.
==22690==Hint: address points to the zero page.
    #0 0x5598af8e2ae9 in main (/out/package/sam_mem+0x2ae9)
    #1 0x7fdcad0a2b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #2 0x5598af8e3ee9 in _start (/out/package/sam_mem+0x3ee9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x2ae9) in main
==22690==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 NO