Https://ide.codingblocks.com/s/321375

Two test cases not passing please point out my mistake