Record Case Detail

Notes

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

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==21980==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffda7ab1f08 (pc 0x55bdb0092279 bp 0x7ffda733b6a0 sp 0x7ffda733b440 T0)
==21980==The signal is caused by a READ memory access.
    #0 0x55bdb0092278 in load(Stack<int>&, int (&) [16]) (/out/package/sam_mem+0x4278)
    #1 0x55bdb0090b2e in main (/out/package/sam_mem+0x2b2e)
    #2 0x7f2e9565eb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x55bdb00915d9 in _start (/out/package/sam_mem+0x35d9)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/sam_mem+0x4278) in load(Stack<int>&, int (&) [16])
==21980==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


        

JOJ Answer

755768268 1254461059 
1528363438 1181365123 2133976544 1181365123 785237904 292109182 2133976544 28403561 292109182 988412771 2133976544 453841454 -2138830820 1148007803 785237904 28403561