Winning cb scholarship

only half test case passed

Hey @i_am_dekard_shaw you are getting wrong answer in half of the cases because of integer overflow.
Take your variables as long int and the code will work fine.

@keshavgupta0103 still not working

Its working . Please make sure that you have made every variable long int ,especially in your cb_scholarship()
function.

hey @i_am_dekard_shaw https://ide.codingblocks.com/s/174107 this is the working code.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.