Result

WA

Code [DL]

p$<.map{|l|2[1-(l.to_i(2)*8+1)**0.5%1]}

stdin

10011100
01101100
00001010
01010100
10001000
11100010
00111110
00110111
11100111
01001000
01010000
10011001
11011110
01101001
00101101
01000101
10011110
01001110
00101110
11010010
01000010
11010011
10010011
10010110
10101011
10001101
00000001
10101001
10010100
00000110
01101001
00001110
11111101
01110011
11000101
10001010
10111110
01011011
00010101
00000000
11111001
01011011
01111000
00011111
00100100
00000011
00100001
00001111
10100100
00011100

stdout

[0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1]

stderr

strace