A Secret Message
CodeChefOpen on judge ↗
Wasim is on a secret mission in enemy country. He encodes the code in a string $S$ such that each alphabet is left shifted $X$ times in cyclic order. (The leftmost alphabet will shift to rightmost position) Wasim further encodes the message by increasing each character value by $Y$. ($z$ will increase to $a$ and vice versa) Your task is to decode the secret message for security 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