← All problemsSign in

Chaay Lover (keteki)

In india people love masala chaay (spicey tea) a lot. Chef thinks that there are only four decent ingredients to make masala chaay : tea, milk, sugar, spice. Chef loves chaay if it is prepared from T packets of tea, M packets of milk, S packets of sugar and P packets of spice. You have nt packets of tea, nm packets of milk, ns packets of sugar and np packets of spice in the kitchen.Besides, nearb

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