What is wrong with this code?

What is wrong with this solution?
https://www.codechef.com/viewsolution/24892168