Solutions to problems found on codechef.com