Problems from Waterloo Programming Contest 2001-09-29