← All problemsSign in

Decode It

Coordinates to an undercover submarine are sent using an encryption method called INNOVASIONE. Here, each number is decoded as the length of a string S formed from a message M. The string S always consists of two distinct alternating letters. For example, if string S's two distinct letters are a and b, then S could be ababa or babab but not abba or baab. You can convert some message M to string S

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