Yet Another Milky Way
CodeChefOpen on judge ↗
Dholu, a heavy milk trader is not much proficient in programming but he came to know that programmers have the ability to make his business even more profitable. His sole profit comes from the milk he sells, the price of milk depends on its quality at the time it was delivered to the customer house’s. The $N$ customers' houses are located on the row and Dholu has $M$ serving booths on the same r
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.
Sign in to chat with the tutor and save your progress.
Sign in to start