← All problemsSign in

ADITYAS NEW VENTURE

Aditya has acquired a dairy manufacturing unit and plans to distribute milk in Mumbai. He has $3$ milk measuring cups of 1L,3L, and 5L. So in order to measure $N$ liters of milk, he can either use $1L,3L,5L$, or a combination of measuring cups. So he wants to know the minimum number of cups to be used to meet his customer’s demand, help Aditya to find the minimum number of cups he will need to mee

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