RD-CODE
CodeChefOpen on judge ↗
Problem description. Code Crunch Heads use RD-CODE for sending messages. It consists of only dots and dashes in sequence. Below are the RD-CODE for the digits 0 to 9: - 0 ----- - 1 .---- - 2 ..--- - 3 ...-- - 4 ....- - 5 ..... - 6 -.... - 7 --... - 8 ---.. - 9 ----. Using this code, help Code Crunch Members to find out the RD-CODE of their message. Users will enter 10 digit phone no.
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