← All problemsSign in

Captain Party

Its Independence day so Prateek, the captain has decided to give away free coffee. He has decided to install P coffee machines at the cafeteria each of which can serve a person under one minute.Now he has received the list of N person that are going to visit his cafeteria. Each person's visiting time is denoted by two integers (H,M) where H is the hour of the day of visit and M is the minute of

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