Help In "NO CHANGE REQUIRED"

The link to the question is : CodeChef: Practical coding for everyone

The link to my soln is : CodeChef: Practical coding for everyone

Can someone please help me in finding error in my code?