Result

WA

Code [DL]

while a=gets;p (8*a.to_i 2)**0.5%2==1;end

stdin

10111110
11110111
11000000
00011100
10001000
01011011
10110000
01001011
11011011
01111000
11011111
11100111
00010101
11001101
00000011
10011001
01110011
00101001
00101101
10111000
00000001
00110011
01101001
11000010
00110111
11111101
00100100
10111111
10101011
11011010
10110011
11011110
01001100
01000010
00000110
00001010
10100111
10010111
10111110
00010000
10110001
00000000
01001110
10011000
11101000
00001010
00001111
00001011
11010010
01110101

stdout

false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false
false

stderr

strace