1005 Spell It Right

1005 Spell It Right (20)(20 分)

Given a non-negative integer N, your task is to compute the sum of all

the digits of N, and output every digit of the sum in English.

Input Specification:

Each input file contains one test case. Each case occupies one line

which contains an N (<= 10^100^).

Output Specification:

For each test case, output in one line the digits of the sum in English

words. There must be one space between two consecutive words, but no

extra space at the end of a line.

Sample Input:

12345

Sample Output:

one five



?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,840評論 0 10
  • pyspark.sql模塊 模塊上下文 Spark SQL和DataFrames的重要類: pyspark.sql...
    mpro閱讀 9,911評論 0 13
  • 第一天戶外跑:跑快,沒多久就沒力氣了。慢慢跑,當跑到一個小廣場時,碰見了一個爺爺和一個孫子在用玩具車堆泥。我們誰也...
    鄧慧娟閱讀 448評論 1 1
  • 不言簡書閱讀 440評論 2 5
  • 笑來老師一再強調(diào)要鍛煉寫作能力的文章,讓我深入思考,想起了自己毅然決然辭掉公職,獨闖廣東的初衷。當時的初心,...
    游緣閱讀 330評論 1 0

友情鏈接更多精彩內(nèi)容