A collection of solutions to programming competition problems