My own solutions for Google Code Jam.