I tried for the long time but not able to understand need and solution to problem below is incomplete code Please help to complete it with brief explaination
Not able to solve this question HELP!
In this question you have to find minimum time required to paint the board using k painter. So you can apply binary search over time. If itβs possible to paint board using mid unit of time then your search space would reduce to start to mid-1. Otherwise you search space become mid+1 to end.
yeah i tried that but i am not able to figure is possible part!!!
please take a look at code and please help me modify it ??
@rastogi.g1998
Your code till check is correct. Just use long long int . I have code rest of the program. Please check here https://ide.codingblocks.com/s/239556
Check whether it is working or not
its shows wrong testcases in all
ITS NOT WORKING also why did we multiply *t with s,e??