#include <iostream> using namespace std ; int main() { int t ; cin >> t ; while (t--) { long k ;//这个没注意的输入范围,应该是long型,因为给出的整体实际上超过in型了 cin >> k ; if ( k % 2 == 0 ) cout << (k/2) * (k/2) << endl ; else cout << (k/2)* ((k/2)+1) << endl ; } return 0 ; }