Problems from Waterloo Programming Contest 2006-02-25