Result

WA

Code [DL]

i=""
while 1:i=1^((1+8*bin(input(i)))**.5%1>0)

stdin

01001110
11100110
10101010
01101001
10010011
00110111
00011101
01100111
01000000
10011001
00000011
01000101
11011100
10101110
10010110
11111101
10100110
01000010
01010000
11100111
00000110
10000011
10011001
00010101
00011100
10001000
00101101
11010010
10101011
00001100
10000111
00101101
11101000
00101110
00001010
01010010
00001111
10111110
11000111
00000001
01100100
11100010
11001100
11001010
00100100
11111001
01111000
01011011
11001001
00000000

stdout

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    while 1:i=1^((1+8*bin(input(i)))**.5%1>0)
TypeError: 'str' object cannot be interpreted as an integer

strace