Result

AC

Code [DL]

while(1)disp(!rem((bin2dec(fgetl(0))*8+1)^.5,1))endwhile

stdin

01000010
00000000
10110100
00001010
00111011
10101011
00101010
01101001
10010111
10111110
01111000
10000100
00001010
10100010
00110111
11010111
01100110
00000011
11100101
00001111
00100111
01010111
00000110
01000010
01001001
10100011
11110000
10000111
01011100
00000100
11111101
00010011
00011100
11010010
01110010
11100111
01000001
10001011
00000001
00101101
10010000
01011011
10011001
00100100
01001110
11100100
11110010
11000110
10001000
00010101

stdout

1
1
0
1
0
1
0
1
0
1
1
0
1
0
1
0
0
1
0
1
0
0
1
1
0
0
0
0
0
0
1
0
1
1
0
1
0
0
1
1
0
1
1
1
1
0
0
0
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