SSOJ
Home
AtCoder
ProblemSet
Contest
Status
Ranklist
F.A.Qs
Login
Register
1180: 各位数字和
Memory Limit:0 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:758
Solved:605
上一题
Submit
下一题
Submit Record
Statistics
MD
Description
输入任意整数,输出其各位数字上的和
Input
任意整数
Output
各位数字上的和
Sample Input
Copy
123456
Sample Output
Copy
21
Source/Category
菜鸟入门
[while]
循环结构
while循环
精做
语法基础
加入题单
算法标签: