Painter problem test case falling

Hello @bhavuk_tomar you are checking your code for this test case:
2
2
10 40

arey bhaiya t bhi toh lena hai

@bhavuk_tomar you can take the input for t and multiply the answer with it in the end.

wahi kiya hai but nhi ho rha tab bhi 1 hi test case passho raha hai

@bhavuk_tomar i have corrected and commented the mistake:


Happy Learning!!

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.