Result

AC

Code [DL]

do disp(mod((8*base2dec(fgetl(stdin),2)+1)^.5,2)==1) until 0

stdin

11100000
00011000
01011011
01111000
00001010
00001111
01101001
01111110
01111000
10001100
00011100
01100000
11110110
00110111
11000111
00101101
01001001
10110110
00101000
01000110
00000000
11011010
01000010
11000011
10101011
11100111
01101101
00100001
00011010
01001110
00100100
01110111
10110001
10101100
10010011
00000001
10011111
01110000
10011001
01010010
00000011
11111101
10010100
00010101
10111110
01011000
00000110
11010010
01101001
10001000

stdout

0
0
1
1
1
1
1
0
1
0
1
0
0
1
0
1
0
0
0
0
1
0
1
0
1
1
0
0
0
1
1
0
0
0
0
1
0
0
1
0
1
1
0
1
1
0
1
1
1
1

stderr

octave: X11 DISPLAY environment variable not set
octave: disabling GUI features
error: base2dec: S must be a string or cellstring
error: execution exception in /volume/CODE

strace