Result

WA

Code [DL]

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

stdin

01111001
11101001
11000100
10111110
01111101
00110101
00101110
00111110
01010111
10101011
11111101
11000110
00000110
00000100
01000000
01101001
00100100
00000011
11111101
00111111
01110000
00011100
10101110
01101000
01001110
01011101
11001101
10000101
11100111
10011001
00101101
00000001
10001001
10111010
11110100
11100100
00001010
01011011
00110111
10011000
00000000
00001111
01100101
11111101
11011010
00010101
10001000
01111000
01000010
11010010

stdout

Syntax error in /volume/CODE:3: unexpected token: =

while b>1=0
         ^

stderr

strace