1505A+B for Input-Output Practice (VI)

1505   A+B for Input-Output Practice (VI)

题目描述

Your task is to calculate the sum of some integers.

输入格式:

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.

输出格式:

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.
输入样例 复制
4 1 2 3 4
5 1 2 3 4 5
输出样例 复制
10
15

说明

587
1293
通过提交
时空限制1000ms/128mb
题目来源hdu
评测方式在线评测
题目类型基础入门
难        度