Result

WA

Code [DL]

print(1^eval("0b%s001**.5%%1>0"%input()))*50

stdin

00000110
00000000
11100110
10110110
01100011
10000010
00100101
10001000
00100111
10011001
00110011
11000111
00111011
00110111
01101001
11110001
01111000
00000011
01010000
00111110
11100111
00011100
11101000
10101011
00100100
01000100
01110011
01010010
11111101
11111111
01011011
10010101
00000001
00101101
01000101
10001110
11011111
01001110
11011010
01000010
11010010
00001111
00101010
10111110
11001111
11010000
00001010
10111110
00010101
11010010

stdout

1

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 1, in <module>
    print(1^eval("0b%s001**.5%%1>0"%input()))*50
TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

strace