ICPC16B :: Wrong Answer

I dont know why I am having wrong answer
https://www.codechef.com/viewsolution/18992605