Solutions to problems in the TopCoder Arena