Result

WA

Code [DL]

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

stdin

10001000
00101101
10011001
11110011
10111110
11011000
01010111
01111011
01111101
00110111
00010100
10100100
01011011
11111101
00001011
10100001
00000001
10101011
00100100
01001011
01000010
00110111
10111010
00001010
11110000
01001110
11011100
11001110
11010000
00011100
01100100
00001111
00010101
00000011
10000011
10001011
00000110
00101010
00000000
10100110
01111000
00010110
01101001
01110001
11010010
01110100
00000001
10010111
01010101
11100111

stdout

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

p b?0:1end
    ^

stderr

strace