Some solutions to previous Google Code Jam made with Scala