Trouble with Digit
CodeChefOpen on judge ↗
Chef’s little brother has just learnt to write digits i.e[0-9] in words, in English. He has written a lot of those words in a paper, your task is to recognize them. Note that Chef’s little brother is only a child, so he may make small mistakes So for each word, there might be at most one wrong letter. The word length is always correct. It is guaranteed that each letter he wrote is in lower-case, a
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