Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==9075==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc 0x00000051d8c3 bp 0x7ffe00c05730 sp 0x7ffe00c05210 T0)
==9075==The signal is caused by a READ memory access.
==9075==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 0x7fea80535b96  (/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) 
==9075==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

8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10

JOJ Answer

8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
8
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
8
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
8
nullptr
nullptr
3
7
15
16
8
nullptr
nullptr
1
3
7
8
4
9
10
nullptr
8
nullptr
nullptr
nullptr
4
9
nullptr
nullptr
10
nullptr
nullptr