Record Case Detail

Notes

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

Stderr

=================================================================
==126544==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 896 byte(s) in 16 object(s) allocated from:
    #0 0x517860  (/out/package/test_com+0x517860)
    #1 0x51c115  (/out/package/test_com+0x51c115)
    #2 0x52c9ee  (/out/package/test_com+0x52c9ee)
    #3 0x7f778e4cdb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

Indirect leak of 31 byte(s) in 1 object(s) allocated from:
    #0 0x517860  (/out/package/test_com+0x517860)
    #1 0x51f4ab  (/out/package/test_com+0x51f4ab)
    #2 0x51f3eb  (/out/package/test_com+0x51f3eb)
    #3 0x51f258  (/out/package/test_com+0x51f258)
    #4 0x51ee7f  (/out/package/test_com+0x51ee7f)
    #5 0x51ecee  (/out/package/test_com+0x51ecee)
    #6 0x51dc0c  (/out/package/test_com+0x51dc0c)
    #7 0x51bc91  (/out/package/test_com+0x51bc91)
    #8 0x51c1cd  (/out/package/test_com+0x51c1cd)
    #9 0x52c9ee  (/out/package/test_com+0x52c9ee)
    #10 0x7f778e4cdb96  (/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

S

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

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 

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