Record Case Detail

Notes

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

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==9071==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffc85e88b30 (pc 0x558f844f36f5 bp 0x7ffe4d1c85d0 sp 0x7ffe4d1c8580 T0)
==9071==The signal is caused by a READ memory access.
    #0 0x558f844f36f4 in Machine::operate(Instr const&) (/out/package/sam_mem+0x1e6f4)
    #1 0x558f844f62b3 in Machine::Machine(bool, std::istream&) (/out/package/sam_mem+0x212b3)
    #2 0x558f844edeee in main (/out/package/sam_mem+0x18eee)
    #3 0x7fae48a50b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x558f844ee7c9 in _start (/out/package/sam_mem+0x197c9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x1e6f4) in Machine::operate(Instr const&)
==9071==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 10
82873216 31007506 98192373 87989938 7092055 70819978 80294102 21599522 42907948 55994127 10591181 7788643 9392432 82685271 8785140 23996233 23484831 44558342 905119 91038646 52918758 21845396 30431016 95564837 46847417 13408809 18260496 85898526 61934610 73798912 45794025 50764930 30084179 36204832 37007791 13113566 46576294 66588996 42792148 42311783 29344337 71444554 7952773 73126883 10698302 50108945 73780117 14033502 46586471 4661473 7756274 5398312 1841014 2546972 40862729 49811127 87715897 1224168 48937115 30740346 6892943 94084565 96019657 20519143 69962506 97530339 3937363 19560063 16622907 54252244 7900734 367456 67509148 16313591 55861118 89957876 37072222 67765771 16019754 37763979 26611384 47077504 47900506 23785898 28192608 62573194 92657287 87474291 23201251 60792683 66114168 19784578 22499444 5440258 38052112 76239773 5068570 26821173 17781097 78278127 29915887 71750402 47567740 59851884 77067284 13159856 5773671 59226858 94585731 53187051 25437871 10 
STORE IFZ 0 NOR PUSHI 15 STORE NO

JOJ Answer

1710200655 
1408246058 2113828593 1603099208 -1264042414 -2077875004 890616150 1262993833 67934061 275150162 890616150 553277236 542146867 -2113828854 -2079837616 1861067855 2108040417