12829: 【基础题】第6章:循环控制结构 6.12 求正数的和
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:2
Solved:0
Description
输入一些正数,编程计算并输出这些正数的和,输入负数或零时,表示输入数据结束。
Sample Input Copy
1
2
3
4
5
-1
Sample Output Copy
15