Result

AC

Code [DL]

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

stdin

10011101
00110010
01111110
11010011
11100111
00100100
10101011
00001010
10001001
00000110
01000010
11110101
11000100
01001010
00011100
11000101
01001001
01111001
00110111
00111001
01001110
10111110
10001000
01100101
00010101
10101001
01010111
11111101
00000100
01101001
00101100
01111111
11111001
10011001
01111000
00011010
01001110
00101101
00001111
00000001
01011011
00000011
00100100
10001110
00000000
11110010
00000111
11010010
00110001
01011100

stdout

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

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