Problem solutions for Google Code Jam 2014