Secret Code
CodeChefOpen on judge ↗
Chef's friend came up with a $secret$ $code$. Which Encodes a string by replacing each $vowel$ by **two** characters ahead and each consonant by **next** character ahead. Help Chef communicate with his friend by encoding the given strings in the $secret$ $code$. ### Input - First line denotes the number of test cases $T$. - Each test case contains a string $S$ of unknown length. ### Output - For
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