#include #include #include #include #include #include #define LL long long #define PI atan(1.0)*4 #define DD double #define MAX 1100 #define mod 100 #define dian 1.000000011 #define INF 0x3f3f3f using namespace std; __int64 s[MAX]; LL C(LL n,LL m) { LL ans=1; int num=1; while(m--) { ans*=(n-m); ans/=num; num++; } return ans; } int main() { __int64 n,m,j,i,t,k,sum; scanf("%I64d",&t); while(t--) { scanf("%I64d",&n); for(i=0;i