I am not getting correct answer. Please help!
Painter problem (Binary Search)
Hey @div_yanshu07 your code is of problem Painter’s Partition Problem? If it is then why are you taking t as an input as in question it is said that
Input Format
First line contains K which is the number of painters. Second line contains **N** which indicates the number of boards. Third line contains N space separated integers representing the length of each board.
Question:-https://online.codingblocks.com/app/player/151701/content/153620/5385/code-challenge
No, this question
Please tell me the name of the problem.
It’s written as painter problem but it’s different from the question you mentioned earlier. It has 3 inputs n,k,t.
Have debugged your code here
it’s getting accepted.
If this solves your doubt, please mark it as resolved
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.