Whats wrong with my code...c++...EASY

can any one pls tell me whats wrong with my code http://www.codechef.com/viewsolution/1394354