I was trying to submit a solution to a problem on Geek4geeks website. I\'ve checked the solution it seems correct and does not show runtime errors on codeblocks, however it