why i am getting a wrong answer ?


My Solution :- http://www.codechef.com/viewsolution/6422703