← All problemsSign in

Easy Pronunciation

CodeChefRating 1000Open on judge ↗

*Words that contain many consecutive consonants, like "`schtschurowskia`", are generally considered somewhat hard to pronounce.* We say that a word is *hard to pronounce* if it contains $4$ or more consonants in a row; otherwise it is *easy to pronounce*. For example, "apple" and "polish" are easy to pronounce, but "schtschurowskia" is hard to pronounce. You are given a string $S$ consisting of

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start