Result

AC

Duration

588ms

Code [DL]

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

stdin

0111100010001100001100101101010101101110011110101111100110110011011110111010100100000000111110100000

stdout

0101000011110111110111001001100110110100010100110101000100100010010100101100111000000000101011000000

stderr