Problem Description Your task is to calculate the sum of some integers.

Input Input contains an integer N in the first line, and then N lines follow. Each line starts with a integer M, and then M integers follow in the same line.

Output For each group of input integers you should output their sum in one line, and with one line of output for each line in input.

Sample Input2
4 1 2 3 4
5 1 2 3 4 5

Sample Output10
15

Author lcyA+B for Input-Output Practice (V)A+B for Input-Output Practice (V)

相关文章:

  • 2021-07-07
  • 2021-05-04
  • 2021-07-09
  • 2021-08-24
  • 2021-08-13
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
  • 2021-07-10
相关资源
相似解决方案