Result

WA

Code [DL]

loop{p (gets||"").to_i(2)*8+1)**0.5%2==1?1:0}

stdin

11111101
11010101
10001000
10110101
10101001
11100001
11100111
00000001
01100100
11010010
01111000
01011000
00010000
00011100
11001010
01001101
10001001
10100100
10111110
00101101
00100100
01101001
00110111
01011111
01011011
11101000
01000010
01100001
11000111
01101110
11001101
00001111
00000000
00011111
10101010
11011100
01001110
10101011
11101001
00000110
00000011
01101100
10001000
00010101
00100100
00010011
10011001
10100110
00111101
00001010

stdout

Syntax error in /volume/CODE:1: unexpected token: )

loop{p (gets||"").to_i(2)*8+1)**0.5%2==1?1:0}
                              ^

stderr

strace