Scrabble score by macik

using C=System.Console;class Y{static void Main(){for(;;){int x=0;foreach(int c in C.ReadLine())x+="02210313074020029000033739"[c-97]-47;C.WriteLine(x);}}}

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

download

return to the top page