Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==5956==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x00000051bd64 bp 0x7ffdf5d771f0 sp 0x7ffdf5d771a0 T0)
==5956==The signal is caused by a READ memory access.
==5956==Hint: address points to the zero page.
    #0 0x51bd63  (/out/package/dbc_memcheck+0x51bd63)
    #1 0x523628  (/out/package/dbc_memcheck+0x523628)
    #2 0x523a17  (/out/package/dbc_memcheck+0x523a17)
    #3 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #4 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #5 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #6 0x523a17  (/out/package/dbc_memcheck+0x523a17)
    #7 0x523a17  (/out/package/dbc_memcheck+0x523a17)
    #8 0x523a17  (/out/package/dbc_memcheck+0x523a17)
    #9 0x523a17  (/out/package/dbc_memcheck+0x523a17)
    #10 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #11 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #12 0x5239d9  (/out/package/dbc_memcheck+0

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

1011110101111000001101000111110001000000111101101110111101001001110111000000111000000000010101001000010100111000100010101111001100101000010010110110011011111111111101010101000101001110100010110011111111000111010010101110101100011111001101000000000110010000010110000001010110111001101010010001011000111010001110100010010110111110110100000010000110111100011100100110111101110000110011000101001000010111101010001111101001000011111111011100001001000001011110000100001000010001001000000111110110000010010101011110000110011000011111111011010111011101011001100100110100011000101101100110001001101001100001110011010101101110101011010000001010101010110111101100100011000011011011111011111000111001101110011000100100010000100101101001000110000100100011010100111000111101011110011111100101100000100001101000100110011100111100101000111010011010100100111111001101111011101000110101111111100101100000000010100100111110001101101110111100100100011110100111011110100101001110110111011110100010000101100111111011011100011010010010101100101010