Halloween party
#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; }
时间: 2024-10-10 01:19:39