#include<iostream>
using namespace std;
int main()
{
int n,m, x,l=0, s = 0,a[10000];
cin >> n;
for(int i=0;i<n;i++)
{
cin >> m;
for (int k = 0; k < m; k++)
{
cin >> x;
s += x;
}
a[l] = s;
s = 0;
l++;
}
for (int j = 0; j < n; j++)
cout << a[j] << endl << endl;
return 0;
}
0.0分
0 人评分