#include<bits/stdc++.h> |
using namespace std; |
#define maxN 10001 |
int main() |
{ |
int n = 0, a[maxN]; |
|
|
for ( int i = n-1 ; i >= 1 ; i-- )
|
|
if (n%2) printf("%d\n", a[(n+1)/2]); |
else printf("%d\n", (a[n/2] + a[n/2+1])/2); |
} |
return 0; |
} |
No comments:
Post a Comment