Notes
This function is in beta test. Please help improve it in the issues
here.
AddressSanitizer:DEADLYSIGNAL ================================================================= ==6074==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000010 (pc 0x00000051bd64 bp 0x7ffe44679870 sp 0x7ffe44679820 T0) ==6074==The signal is caused by a READ memory access. ==6074==Hint: address points to the zero page. #0 0x51bd63 (/out/package/dbc_memcheck+0x51bd63) #1 0x523628 (/out/package/dbc_memcheck+0x523628) #2 0x5239d9 (/out/package/dbc_memcheck+0x5239d9) #3 0x5239d9 (/out/package/dbc_memcheck+0x5239d9) #4 0x5239d9 (/out/package/dbc_memcheck+0x5239d9) #5 0x523a17 (/out/package/dbc_memcheck+0x523a17) #6 0x523a17 (/out/package/dbc_memcheck+0x523a17) #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
1100011011000010100100110111011010011000010110010100110110001010110001010000101001001011011010110011111010111110000100001010111100110000000010111100100011001011101110000101101010010101101011111001111101101110010101100010011000101010000011011011111101110110001110100110010000000101011100011011110100001111111100010111110111100000001000101100010110111101001000000010101011010011110011100000100001100010110001001011001001110111101110111110101101011011101011011110100001011100011011111001000001100000100011111010101010011011110111111000111000110001111101101001100000110000110000001100110101000001111111010110000101101011001011101111001010110111100101100010001001011100110011100101101110011001011110111110111100100110100000111001110110111000000011111101011110010000110111010011001101011001101010111110010010011011010011101001110100000110011001010111110001010101110110111011101100000111101011001111001001111110011011110111010010000001010100000001101011101010000010000101011011101100111100100000011011111101110001001111010010111110