Result

WA

Duration

567ms

Code [DL]

i=0;gets.chop.chars.map{|c|print i^=c.to_i}

stdin

1111101010111001011110101001000111011011100100111010000111110000000000110111010010010110001000111100

stdout

1010110011010001101011001110000101101101000111010011111010100000000000100101100011100100001111010111

stderr