#include <cstdio>
#include <iostream>
#include <ctype.h>
#include <cstring>
#include <string>
#include <cstdlib>
#include <stack>
#include <queue>
#include <algorithm>
using namespace std;
int main()
{
int t;
cin >> t;
while(t--)
{
int n;
cin >> n;
cout << (n/2)*((n-1)/2) << endl;
}
return 0;
}
找规律, 0*0 1*0 1*1 2*1 2*2 3*2 3*3.。。。。。。。。。。。
uva 1315 Crazy tea party
最新推荐文章于 2022-10-19 15:19:22 发布