1587: 整数的数字和
Memory Limit:128 MB
Time Limit:1.000 S
Submit数:2
Solved数:1
Description
输入一个四位数,求它的各个数位上的数字之和。
Input描述
一行:一个四位数
Output描述
一行:数字之和
Sample Input Copy
1234
Sample Output Copy
10
Source/Category
⋮
输入一个四位数,求它的各个数位上的数字之和。
一行:一个四位数
一行:数字之和
1234
10