Result

WA

Code [DL]

for 1:print(+((1+8*int(input(),2))**.5%2==1))

stdin

10001001
01101001
10001000
10001000
00011100
01111101
11010010
10101000
11001011
11111101
11011011
11000111
11101010
11011010
01111000
10101011
01000010
10111110
11110100
11100111
11110010
00110111
00110010
00001111
11010101
00000001
00101110
10001011
00000011
11100110
00000000
01101011
11101110
00001010
01001110
00101101
01110101
11111101
01101111
00101111
10000100
00100100
00010101
10000000
01011011
00000110
10111111
01101110
10011001
11010011

stdout

stderr

  File "/volume/CODE", line 1
    for 1:print(+((1+8*int(input(),2))**.5%2==1))
         ^
SyntaxError: invalid syntax

strace