Result

AC

Code [DL]

all:$<
(.+)\s(.+):$1 $2
0+(.|11(0|11|100|0111)?|10(101?|0100|1101))|010*1(0|01001|110|1011|11000)|101*0(01000|11001|1011)?|11+0(10010|0111|1):"1"
.+:"0"

stdin

00100011
10101011
01001110
01001010
10000000
00110111
01111000
00000011
10011001
11111101
11011110
10111110
10110111
01111010
00000100
01111100
00001111
11001000
10100000
00110001
00000011
00010101
00101101
10001000
11010110
00000000
11010100
10101111
00000001
11101100
01111001
00100111
01011011
01100001
01010101
01000010
00001010
00000110
10010011
01101001
00011100
11100111
11111001
00100100
00110111
11010010
00111100
11111110
01110010
01101111

stdout

01100111110100001000111101001000100111011101110000

stderr

strace