Dipen and His Birthday Party
CodeChefOpen on judge ↗
Dipen is having a party on his birthday. For his party he has 3 types of chocolates: Kitkat, Lollipop and Fivestar for his friends to enjoy. To keep a check on the number of people, he gave them T-shirts, all having distinct numbers. All the people who wanted Kitkat stood in line A, those who wanted Lollipop stood in line B and those who wanted Fivestar stood in line C. A person can stand in more
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