My solution to problem C, "Garbled Email", in the 2013 Google Code Jam, round 1B.