Solutions for all of the problems in http://www.cs.umd.edu/Outreach/hsContest13/questions/all.pdf