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

what is wrong with my code, the timelimit is exceeding