Helping Spy
CodeChefOpen on judge ↗
A spy needs your help to decrypt a message. The encrypted message is in dots "." and dashes "-". The message received by the spy is -.. . .- -.. a table for the decrypted to encrypted letters is given below A .- B -... C -.-. D -.. E . F ..-. ------------------------------------------------------------------------------------------ ###Input: Each Character encrypted code on each new line. -
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