These are my solutions to the problems posed in the 2012 Facebook Hacker's Cup. They are not perfect, and in some cases not even correct. :)