文件名称:A1005
- 所属分类:
- 其他小程序
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-10-23
- 文件大小:
- 3.85mb
- 下载次数:
- 0次
- 提 供 者:
- Alic*****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
pat advanced level 1005. Spell It Right-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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
A1005\A1005.cpp
.....\A1005.sdf
.....\A1005.sln
.....\A1005.suo
.....\A1005.vcxproj
.....\A1005.vcxproj.filters
.....\A1005.vcxproj.user
.....\Debug\A1005.exe
.....\.....\A1005.exe.intermediate.manifest
.....\.....\A1005.ilk
.....\.....\A1005.lastbuildstate
.....\.....\A1005.log
.....\.....\A1005.obj
.....\.....\A1005.pdb
.....\.....\A1005.vcxprojResolveAssemblyReference.cache
.....\.....\A1005.write.1.tlog
.....\.....\CL.read.1.tlog
.....\.....\CL.write.1.tlog
.....\.....\link.read.1.tlog
.....\.....\link.write.1.tlog
.....\.....\mt.read.1.tlog
.....\.....\mt.write.1.tlog
.....\.....\vc100.idb
.....\.....\vc100.pdb
.....\ipch\a1005-3adf76fb\a1005-446fca33.ipch
.....\....\a1005-3adf76fb
.....\Debug
.....\ipch
A1005