1 tc is failing

code: https://ide.codingblocks.com/s/457248

problem: https://hack.codingblocks.com/app/contests/2142/452/problem

hello @raghav007
check now->

start should be equal to maximum of array.


but why?

answer will never be less than that.

becuase students need to finish every book that means the book with maximum pages must be assigned to any one student.
so thats why start=max in array

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.