Result

WA

Code [DL]

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

stdin

01011011
11011011
11101000
10100111
01000010
00100100
00010100
10101011
01001001
00000110
00010101
11110100
11101010
00110011
11100110
00001010
00000011
11111011
10011101
11000000
01111100
01000000
10101011
11100111
10101110
10011001
10111110
00110111
00110000
01001110
00001111
00011100
00111011
11001111
11111101
10100101
01011000
01011001
01101001
10001000
00100100
01111000
00111001
00101101
00100101
01110110
00000000
11101011
11010010
00000001

stdout

stderr

  File "/volume/CODE", line 1
    while _&=1:_=1^((1+8*int(input(_),2))**.5%1>0)
            ^
SyntaxError: invalid syntax

strace