Record Case Detail

Notes

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

Stderr

=================================================================
==128943==ERROR: AddressSanitizer: heap-use-after-free on address 0x61c000000080 at pc 0x00000051e7f1 bp 0x7ffd341834e0 sp 0x7ffd341834d8
READ of size 8 at 0x61c000000080 thread T0
    #0 0x51e7f0  (/out/package/test_com+0x51e7f0)
    #1 0x51e718  (/out/package/test_com+0x51e718)
    #2 0x51e698  (/out/package/test_com+0x51e698)
    #3 0x51dc38  (/out/package/test_com+0x51dc38)
    #4 0x51df64  (/out/package/test_com+0x51df64)
    #5 0x52ee14  (/out/package/test_com+0x52ee14)
    #6 0x52edde  (/out/package/test_com+0x52edde)
    #7 0x52ed9c  (/out/package/test_com+0x52ed9c)
    #8 0x52ec50  (/out/package/test_com+0x52ec50)
    #9 0x52ea3f  (/out/package/test_com+0x52ea3f)
    #10 0x52d143  (/out/package/test_com+0x52d143)
    #11 0x7f0b8c44eb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #12 0x41f3f9  (/out/package/test_com+0x41f3f9)

0x61c000000080 is located 0 bytes inside of 1792-byte region [0x61c000000080,0x61c000000780)
freed by thread

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

10010 0101 001 10000 011 11 10001 1011 000000 0001 001 10100 11 01001 011 001 0001 11 11 001 1011 00001 0101 01000 001 11 011 001 0001 11 11 001 10011 00001 011 10101 000001