Painter problem what is li

what is li in constraints and in the given sample input the number is given 1 and the total units are given 7 then how is the output 50?

HI @aganunay, pls share a screenshot of question statement here. Alongwith constraints and testcase.

16%20PM30%20PM

  1. List item

Hi @aganunay, li here represents the length of ith board. Also there are not 7 boards there are total 2 boards only and 11 units in total. Since we have 2 painters therefore maximum time will be 50 minutes.

thank you very much @proram

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.