Not able to find out what is the error and why test cases are not passing here is my code : https://ide.codingblocks.com/s/370117
Not able to pass test cases
your isvalid function is not right
check this corrected code:
(number_of_students - mid)*extra_coupons I am not able to get this part of isvalid can you please expalin
each student performing bad will give y coupons amt individually so we can include that