Record Case Detail

Notes

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

Stderr

AddressSanitizer:DEADLYSIGNAL
=================================================================
==5686==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x00000051bd64 bp 0x7ffce704dc70 sp 0x7ffce704dc20 T0)
==5686==The signal is caused by a READ memory access.
==5686==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 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #7 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #8 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #9 0x5239d9  (/out/package/dbc_memcheck+0x5239d9)
    #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

111111101000011000100111010001010011110110010110000111110010110110101110001011100101001100110011110011111111000000000111001100111011111001011000001001111111111010001011011011100101011010110001100110011001010110100111111110101101100001101101101011110100110010111110100110111101000001110111111000000101101110111100110101101100010111000011000011000001001001011001101010011110110001100010011011010010110110001011010110011110110100010101101001100101110000001100011010110001101000001011110101001111101011100011110110011101100011001011110111100101101010110101001110010110001001001110111011000011101111001100001111000110101110000100001101000110010011110111111001100100000001001110111011111110010000110001100001001110111110001110110000011001110000