3052: while-数字求和直到0
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:3
Solved:2
Description
输入一系列整数,以0结束,输出它们的和。
Input
多个整数,最后以0结束(整数个数≤1000)
Output
求和结果
Sample Input Copy
3 5 2 0
Sample Output Copy
10