What's wrong with the solution here?

https://ide.codingblocks.com/s/71597

What’s the question ?

1 Like

This is been resolved now , it was from sample input problem.