IPL Ticket
CodeChefOpen on judge ↗
It is IPL Season and the first league match of Vaibhav's favorite team, "Chennai Super Kings". The CSK team is playing at the IPL after 2 years and like all Dhoni lovers, Vaibhav is also eagerly awaiting to see Dhoni back in action. After waiting in long queues, Vaibhav succeeded in getting the tickets for the big match. On the ticket, there is a letter-code that can be represented as a string 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.
Sign in to chat with the tutor and save your progress.
Sign in to start