#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;
int main() {
int T;
unsigned long K;
cin>>T;
while(T >= 1 && T <= 10 && T--)
{
cin>>K;
if(K >= 2 && K <= 10000000)
{
cout<<(K * K /4)<<endl;
}
}
/* Enter your code here. Read input from STDIN. Print output to STDOUT */
return 0;
}原文地址:http://9320314.blog.51cto.com/9310314/1558583