#include using namespace std; int main() { int t; scanf("%d",&t); while(t--) { int n; cin>>n; int a[n]; long long int sum=0; for(int i=0;i