Secret Key
CodeChefOpen on judge ↗
Customers of the restaurant wants to meet Chef to thank him for the delicious sweets he made for free on Diwali occasion, but the Chef meets only those who have the secret key present in the string given by the organizers. It’s difficult for the organizers to arrange the seats. Please help them by finding the total number of customers allowed to meet Chef. **NOTE**: Key is Case Sensitive. ### In
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