Google Code Jam 2014 R1B
Problem A
Google Code Jam 2014 R1B
Problem B small