#include int main() { __int64 tmp,sum; int cases; int n; scanf("%d",&cases); while(cases--) { sum=0; scanf("%d",&n); int i; for(i=0;i