Doubt in implementation of PRATA problem

Hello, I was watching this lecture and I tried some changes as sir told in the lecture that we may take search space from 0 to time taken by the fastest cook alone

When he was explaining the problem he finds this time taken by the fastest cook which is (1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10) for the first testcase. So this time comes out to be 55 but he takes it as 100 till now I have no problem but when I tried to approach the correct answer with 55 then I am getting the wrong answer. Why ?

Ok sorry I got the correct answer I was doing a silly mistake. I have marked it as resolved :slightly_smiling_face:

1 Like

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.

1 Like