I participated in the Google Code Jam 2013, here's some of my code from the problems that I did. https://code.google.com/codejam/