Sir pls tell error in code.. all test cases not passing

Now your code is working https://ide.codingblocks.com/s/291168