what am I doing wrong here? need help!

Code chef is not accepting this answer. but in my pc I am getting the correct answer. please help.

https://www.codechef.com/viewsolution/22607343