how many numbers?


Submit solution

Points: 20 (partial)
Time limit: 5.0s
Memory limit: 256M

Authors:
Problem type

題目說明

請先輸入一個整數N,使用while語法輸入N個數,最後輸出所有輸入的數字的加總

輸入限制: 第一個輸入的值一定>0

輸入

整數與幾個整數

輸出

加總的各個整數

sample input1

3
1 2 3
//注意此處輸入是以空格區隔

sample output1

6

Comments

There are no comments at the moment.