Programming Challenges from the Programming Contest Training Manual