here in this question it is given each painter will take 5 units of time to paint the board what that mean??
how to approach this?
Doubt in painters problem
this q is similar to the one in which each painter took 1 unit time
here just the
you are also given how much time a painter takes to paint 1 unit of board.
so in this the final result that comes out need to be multiplies by t units and %10000003 needs to be taken at the end in order to avoid overflow
u needto use binary search concept and is similar to book allocation problem