Station Name
CodeChefOpen on judge ↗
Charlie has been given the task to give the station code to a newly created station. But he has a set of station codes $C$ from which he wants to find the **number of most appropriate station codes**. So he needs your help. Given a station name $S$, a station code $C_i$ for that station should satisfy the following three conditions: $1$. The first letter of $S$ and $C_i$ should be same. $2$.
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