首页 > 试题广场 >

Spell It Right (20)

[编程题]Spell It Right (20)
  • 热度指数:2825 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32M,其他语言64M
  • 算法知识视频讲解
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.

输入描述:
Each input file contains one test case. Each case occupies one line which contains an N (<= 10100).


输出描述:
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.
示例1

输入

12345

输出

one five

这道题你会答吗?花几分钟告诉大家答案吧!

问题信息

难度:
0条回答 4972浏览

热门推荐

通过挑战的用户

Spell It Right (20)