Solved 3 problems in Codechef Apr 2014 Long contest