Wrong Answer, though my code is running absolutely fine! Please clarify.

I am participating in February Long Challenge and my code is given in the link below, it is running correctly and I’ve tested it with various inputs, though your compiler always marks it as ‘Wrong Answer’. This is really frustrating.

deleted

You will be disqualified because of this post - see the guidelines to find out why…

//