← All problemsSign in

Foodie Aakash

Aakash is the number one foodie of USICT and he loves to eat a lot. On his birthday his friends wanted to give him the best feast he ever had. So they took him to restaurant and ordered N number of dishes. Initially his hunger is 0, as the time passes the hunger of Aakash increases by K ounces per second(i.e he can eat K ounces after 1 sec, K more after another second and so on). Now at end of ce

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