Record Case Detail

Notes

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

Stderr

LeakSanitizer:DEADLYSIGNAL
==34084==ERROR: LeakSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55a5de11f691 bp 0x602000000008 sp 0x7ffd94b52920 T0)
==34084==The signal is caused by a READ memory access.
==34084==Hint: address points to the zero page.
    #0 0x55a5de11f690 in Node::equal(Node*) (/out/package/lab8+0x1690)
    #1 0x55a5de11f6a7 in Node::equal(Node*) (/out/package/lab8+0x16a7)
    #2 0x55a5de11f6ef in Node::contain(Node*) (/out/package/lab8+0x16ef)
    #3 0x55a5de1215ed in choice9() (/out/package/lab8+0x35ed)
    #4 0x55a5de11f27a in main (/out/package/lab8+0x127a)
    #5 0x7f17c2505b96 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #6 0x55a5de11f3d9 in _start (/out/package/lab8+0x13d9)

LeakSanitizer can not provide additional info.
SUMMARY: LeakSanitizer: SEGV (/out/package/lab8+0x1690) in Node::equal(Node*)
==34084==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 23, which should be 0.

Please double check your code to solve this problem and try again.

Your Answer

1

JOJ Answer

1
0
1