Time Lapse :2hour 0min 0sec
8840.c
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| #include <stdio.h> using namespace std; int main(int argc, char** argv) { int test_case; int T; scanf("%d",&T); long long num; for(test_case = 1; test_case <= T; ++test_case){ scanf("%lld",&num); printf("#%d %lld\n",test_case,(num/2)*(num/2)); } return 0; }
|