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

why are my testcases failing even though the output of my sample test case is correct.