#include<iostream> Problem Description Your task is to calculate the sum of some integers.
|
Input
Input contains multiple test cases, and one case one line. Each case starts with an integer N, and then N integers follow in the same line.
|
Output
For each test case you should output the sum of N integers in one line, and with one line of output for each line in input.
|
Sample Input
4 1 2 3 4 |
Sample Output
10 |
Author
lcy
|
相关文章
- 03-15HDU 1091 A+B for Input-Output Practice (III)
- 03-15E题 - A+B for Input-Output Practice (IV)
- 03-15A+B for Input-Output Practice (III)
- 03-15A+B for Input-Output Practice (II)
- 03-15PAT (Basic Level) Practice (中文)1022 D进制的A+B (20 分)
- 03-151F - A+B for Input-Output Practice (III)
- 03-151011 A+B 和 C (15 分)—PAT (Basic Level) Practice (中文)
- 03-15A+B for Input-Output Practice (III)
- 03-151008 A+B for Input-Output Practice (VIII)
- 03-15A+B for Input-Output Practice (IV)