Record Case Detail

Notes

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

Stderr

ASAN:DEADLYSIGNAL
=================================================================
==26403==ERROR: AddressSanitizer: SEGV on unknown address 0x7ffbebd36938 (pc 0x55b774965279 bp 0x7ffc0e408010 sp 0x7ffc0e407db0 T0)
==26403==The signal is caused by a READ memory access.
    #0 0x55b774965278 in load(Stack<int>&, int (&) [16]) (/out/package/sam_mem+0x4278)
    #1 0x55b774963b2e in main (/out/package/sam_mem+0x2b2e)
    #2 0x7f24044bdb96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #3 0x55b7749645d9 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])
==26403==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

41278167 444907068 1054956415 -1055489920 1055021693 1055481720 1055481720 904674457 1055481720 2081967292 1190110670 2081967292 -1068335004 -1039661046 1054956415 1190110670