← All problemsSign in

The Food Town

Aanchal likes to visit different restaurants and try the dishes they offer. One day she decides to visit this restaurant called $The$ $Food$ $Town$. There are $N$ chefs working there and they take specific amount of time $t$ to cook any of the dishes. Aanchal knows the time $t$$i$$ $ (time taken by each chef to prepare a dish). Chefs can work simultaneously on different tables, and she can make an

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start