Jersey Number
CodeChefOpen on judge ↗
It’s World cup time, and every player wants to get a cool jersey number. As a result, there was a fight between the players about what jersey number they can have. To resolve this, the committee (ICC) came up with an idea. They gave a huge string and asked each player to walk in one by one, and select four indices in the string (i, j, k, l) such that i Assuming that there are enough players to c
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