My solutions to problems from The Annual Berkeley Programming Contest