← All problemsSign in

Dairy Day

2 Milkmen Aditya and Rahul were doing very good business in their village as partners and had many milk containers of the following sizes. The codes for each of the sizes are given in the braces they are supposed to be entered in the input as specified in INPUT section. Can (CN) 10 gallons Pail (PL) 2 gallons Gallon (G) Quart (Q) 1/4 gallon Pint (PN) 1/8 gallon Cup (CP) 1/16 gallon Now Roh

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