Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem H: 【循环结构】输入一组整数,计算总和
Problem H: 【循环结构】输入一组整数,计算总和
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
1587
Solved:
800
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入一组整数,个数不定,计算总和并输出
Sample Input
Copy
2 4 6 10000
Sample Output
Copy
10012