Result

WA

Code [DL]

print(+!(((8*int(raw_input(),2))+1)**.5%2))

stdin

11111010
00001111
01001010
01100101
00000110
00110111
01010011
11010010
10111100
01101001
01001110
10011100
00000000
00001000
11100111
01010000
00010101
10101011
01111000
00010011
00011100
00011011
00100100
11101101
00000011
11011011
01111000
00101101
10001000
01011011
11010010
11100000
10011001
01000100
11111101
10010100
11000010
00111000
11010000
01111010
01110100
00100010
00001010
11111100
11001000
10111110
10110001
00000001
01111111
01000010

stdout

stderr

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

strace