Mobile Number
CodeChefOpen on judge ↗
Consider message typing method in basic keypad mobile. To print ‘a’ user has to press 2, to print ‘b’ user has to press 2 for two times, for ‘c’ user has to press 2 for three times, for ‘d’ user has to press 3 for one time and so on.0 is used for space between the words To differentiate consecutive character from the same set of number should be separated by 'x'. (Case In-Sensitive). Input
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