Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==8631==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000051d8c3 bp 0x7ffe6ecb2d30 sp 0x7ffe6ecb2810 T0)
==8631==The signal is caused by a READ memory access.
==8631==Hint: address points to the zero page.
    #0 0x51d8c2  (/out/package/test_part1_new_memcheck+0x51d8c2)
    #1 0x5216ec  (/out/package/test_part1_new_memcheck+0x5216ec)
    #2 0x523841  (/out/package/test_part1_new_memcheck+0x523841)
    #3 0x7fb85f372b96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #4 0x41da89  (/out/package/test_part1_new_memcheck+0x41da89)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/out/package/test_part1_new_memcheck+0x51d8c2) 
==8631==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

18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr

JOJ Answer

18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
8
17
35
36
18
nullptr
nullptr
4
9
19
20
nullptr
nullptr
18
nullptr
nullptr
nullptr
8
17
35
36
18
nullptr
nu