Record Case Detail

Notes

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

Stderr

/in/sam.cpp:73:58: runtime error: index 94585731 out of bounds for type 'int [16]'
/in/sam.cpp:73:58: runtime error: load of address 0x7ffd215bc16c with insufficient space for an object of type 'int'
0x7ffd215bc16c: note: pointer points here
<memory cannot be printed>
ASAN:DEADLYSIGNAL
=================================================================
==33679==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffd215bc16c (pc 0x5567f9e3d848 bp 0x7ffd0aceb320 sp 0x7ffd0aceb120 T0)
==33679==The signal is caused by a READ memory access.
    #0 0x5567f9e3d847 in main (/out/package/sam_mem+0x10847)
    #1 0x7f4f40b51b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #2 0x5567f9e3f4d9 in _start (/out/package/sam_mem+0x124d9)

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