Solutions to problems in the book Competitive Programming