Solutions to Canadian Computing Competition problems