Mutating Language
CodeChefOpen on judge ↗
As a privacy concern, Anit and Yash decide to communicate with a language of their own. They are lazy, so they just use the characters in the english language and encrypt their message. Anit is a fan of prime numbers, so he maps all *26 lowercase alphabets*, *comma (,)*, and *period (.)* to each of the first 28 [prime numbers](https://en.wikipedia.org/wiki/Prime_number) in order. So, each charact
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