#include<bits/stdc++.h> #define int long long using namespace std; int n,m; map<int,int>mp; signed main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0); int t; cin>>t; while(t--) { mp.clear(); cin>>n; int sum=0; for(int i=0;i<n;i++) { int x; cin>>x; sum+=x; ...