explain is possible function, how to check is it possible for mid to get scholarship or no
Winning CB scholarship
@mohitsharmakosi2001 see this:
the expression in the ispossible will go like this:
as we are finding the mis and with mid we are checking if this much number of students can be assigned with 100 %scholarship?
mid*(no of coupons to get 100% scholarship) <=(coupons we have) + total students -(students whom we have given scholarship)*(no of coupons student will give if he fails) .
try to understand this expression i have written in layman term.
whats wrong in this code
ok got it , thank you so much
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.