← All problemsSign in

Decode

No word in the English dictionary has the letter Q occurring twice consecutively. Neither is there any word which ends with Q. Mark decided to use this to his advantage. He devised a simple encryption system to encode English sentences. In his system, he replaces each blank space with QQ. Then he shifts all letters of the obtained string $K$ places to the right in the English alphabet. Then he

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