Telephone Keypad Letter Mapping Fixed by test

using C=System.Console;class P{static void Main(){var l='x';var n=1;foreach(var c in C.ReadLine()){if(c=='1'){C.Write((char)(l==48?32:l*3+n-(l>55?54:55)));n=0;}n++;l=c;}}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page