浙大ZOJ PAT practice – 1005
来源:互联网 发布:东莞淘宝美工培训 编辑:程序博客网 时间:2024/05/21 22:42
PAT practice - 1005
Spell It Right (20)
Time Limit: 1 Second Memory Limit: 32768 KB
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 (<= 10100).
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
- 浙大ZOJ PAT practice – 1005
- 浙大ZOJ PAT practice - 1001
- 浙大ZOJ PAT practice - 1002
- 浙大PAT甲级-1005
- PAT Basic Practice 1005
- 浙大ZOJ 1005 Jugs问题解决
- 浙大 pat Basic Level 1005
- 浙大PAT考试1005~1008
- 浙大PAT basic level 解题1001-1005
- zoj 浙大ACM1005
- 浙大ACM-ZOJ 1049
- 浙大ACM-ZOJ 1115
- 浙大ACM-ZOJ 1558
- 浙大ACM-ZOJ 2058
- 浙大pat 1017
- 浙大pat Advance 1003
- 浙大PAT目录
- 浙大PAT 1049
- 网上购买衣服测算买家最合适尺码的网络应用
- C#里委托/代理delegate 一例
- Filter Streams
- Filter Streams
- ActiveMQ的最简单应用-队列消息
- 浙大ZOJ PAT practice – 1005
- Vim的分屏功能
- js怎样向Servlet传递参数
- Android 使用Matrix进行图像变换
- 摘抄:系统进程
- Android中的AsyncTask
- preg_replace 正则替代 小例子
- Java中读取控制台输入
- 根据某一字段值相同合并字符串 - - SQL