Result

WA

Duration

596ms

Code [DL]

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

stdin

1101100010101000111000001000011100111101011001010101101010001011100000110111011011101110101001010111

stdout

10010000110011110100000011111010001010011011100110010011000011010000001001011011010010110011100110100

stderr