Result

WA

Code [DL]

while a=gets()
b=a.to_i 2
i=0
while b>0
b-=i+=1
end
p !b?1:0end 

stdin

11000110
11101011
01000010
01101101
00001111
00010111
00000001
11100111
00101101
00101001
01101111
01011111
01110101
10011001
01100100
01011100
01111000
01011001
11010000
01001110
00000000
01001011
00110111
11001010
00100100
01000010
00000110
01000100
01101001
01001110
11010010
00001010
10100100
00010101
00011100
10111110
11101010
10100011
00001110
11111101
10001000
00000011
10011110
01010111
01011011
10010010
01101011
10111100
01101000
10101011

stdout

Syntax error in /volume/CODE:7: unexpected token: 1

p !b?1:0end 
     ^

stderr

strace