World Cup Ticket
CodeChefOpen on judge ↗
Problem Statement There was a long queue for tickets for the highly anticipated marquee clash between India and Pakistan cricket team in the World Cup. The International Cricket Council(ICC) had anticipated this before and hence asked the stadium officials to give tokens to people who came for tickets. They were supposed to stand according to their Token ID’ s to get the tickets from the counter.
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