Winning CB Scholarship Problem With Test Cases

Can someone help me and tell whats wrong with my code, it passes only two of the test cases. This is the code right here: https://pastebin.com/vv2mG0dS

Plz send your code by saving on ide

Here’s the code in cb ide: https://ide.codingblocks.com/s/81330

I have modified your code a bit, plz try to submit it now, I have changed your bool function a bit… rest is fine

Thanks for the help. It worked.

Plz mark your doubt resolved, if you were able to understand it