Solutions to codechef problems.