练习专区

今天的一小步就是明天的一大步
Problem 2032 按流程图编程
Accepted: 1   Total Submit: 1
Time Limit: 1000ms   Memory Limit: 30720KB
Description
对输入的数据按下列流程处理

Input
输入有若干个非负数字,当输入为0时表示结束

Output
按流程图输出最终结果

Sample Input
23 5 8 6 0
Sample Output
454
Hint
提交     返回