Solutions to programming competition problems.