Chaapu and Parcels
CodeChefOpen on judge ↗
This is the story of Chaapu, who is off on a business trip to New York, and takes your advice on how to come up with algorithmic solutions for his day to day problems. Well you know how it is customary to "bring" things from the US to India, as they are apparently cheaper. Our mature Chaapu has bought N gifts and parcels for every member of his family. His return flight to India is in a few days,
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