Solutions to some problems in St.Joseph's HS Programming Competition