Result

WA

Code [DL]

i=1
while 1:i=(1+8*int(input(i^1),2))**.5%1>0

stdin

00101010
00011100
00000011
01011011
00000000
11000010
00000001
00001010
10101011
01101001
01101011
11011011
01011101
01111000
00101101
00010101
01001110
00011001
00000110
11111100
10111110
01110111
01000010
11100111
10011001
11010010
01010011
10010010
00000110
11000011
10001000
01110110
01011100
00100100
01001011
10111101
00000010
00110111
00111100
00001111
10110100
10110010
11110001
11010110
11111101
00110001
11011000
01111011
10100111
00110111

stdout

001111011110001111010101111001010010001010000100001

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 2, in <module>
    while 1:i=(1+8*int(input(i^1),2))**.5%1>0
EOFError: EOF when reading a line

strace