Toggle navigation
CSUOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem1760--三位数各位数字之和
1760: 三位数各位数字之和
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Solved: 0
Submit: 391
Statistics
Description
用户输入一个三位数,输出该三位数各位数字之和。
Input
输入一个三位整数
n
(100 <= n <= 999)。
Output
输出一个整数,表示输入数字各位数字之和。
Sample Input
Copy
123
Sample Output
Copy
6
Source/Category
230304实验课