You are viewing a single comment's thread. Return to all comments →
int main(){ int T; cin >> T; for(int a0 = 0; a0 < T; a0++){ int N; cin >> N; int x=N*N/2; int y=N/2; cout<<(x-y)<<"\n"; } return 0; }
Seems like cookies are disabled on this browser, please enable them to open this website
Handshake
You are viewing a single comment's thread. Return to all comments →