THE CHEF GAME
CodeChefOpen on judge ↗
The Chef and his friend "Ramsey" want to play the 'The Chef Game'. Game Rules Both players are given the same string, SS. Both players have to make substrings using the letters of the string SS. Chef has to make words starting with consonants. Ramsey has to make words starting with vowels. The game ends when both players have made all possible substrings. Input First line of input contai
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