sir, this problem is similar to the book allocation problem but I am not able to pass two test cases out of 6-----I am little confused with the modulo we have to take at the end to print the final answer-----sir can you please see what is wrong with my code----
Painter problem using binary search on monotonic search space
I have edited your code… Try to submit it now…