Result

AC

Code [DL]

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

stdin

00001111
01100001
10011111
01101010
00001100
11100110
00110111
10010111
10001111
00000110
01001110
00000011
00101101
10101011
00010101
00000000
01001100
00100100
01011010
01000111
01010001
11100111
01000010
01110101
11010101
11011010
00010100
00001010
00101101
10011001
11000111
11111101
01111000
00001111
00010111
01011110
10001101
11110110
11000101
00000001
01011011
11000010
10111110
11010010
00011100
10011011
10111011
01101001
11000000
10001000

stdout

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

stderr

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

strace