Result

AC

Code [DL]

for i=0:49 disp(mod((8*base2dec(fgetl(stdin),2)+1)^.5,2)==1) endfor

stdin

00101111
00011100
00101101
11110100
11010101
11110110
00000000
01110011
00000001
10110101
01000010
00101001
00011100
10000101
01001100
01101001
00001111
10011011
00111110
01001110
00010000
01101000
10110100
00011111
00011011
00010101
11111000
00000110
00111000
11111101
01011011
01110110
10111110
11000001
11010010
01100101
00011100
11100111
00100100
00110111
11000010
11111100
10011001
01111000
10101011
01011100
00001010
11011101
00000011
10001000

stdout

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

stderr

octave: X11 DISPLAY environment variable not set
octave: disabling GUI features

strace