#include<stdio.h>
#include<stdlib.h>
void printA(int a[],int n){
int i;
for(i=0;i<n;i++){
}
}
void swap(int *a, int *b){
int temp;
temp=*a;
*a=*b;
*b=temp;
}
void reverse(int a[],int n){
int i;
for(i=0;i<n/2;i++){
swap(&a[i],&a[n-i-1]);
}
}
int main(void){
int n,i;
int *v;
v
=(int*)malloc(sizeof(int)*n
); if(v==NULL){
return -1;
}
for(i=0;i<n;i++){
}
reverse(v,n);
printA(v,n);
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8c3RkbGliLmg+Cgp2b2lkIHByaW50QShpbnQgYVtdLGludCBuKXsKCWludCBpOwoJZm9yKGk9MDtpPG47aSsrKXsKCQlwcmludGYoIiVkICIsYVtpXSk7Cgl9CglwcmludGYoIlxuIik7Cn0KCnZvaWQgc3dhcChpbnQgKmEsIGludCAqYil7CglpbnQgdGVtcDsKCXRlbXA9KmE7CgkqYT0qYjsKCSpiPXRlbXA7Cn0KCnZvaWQgcmV2ZXJzZShpbnQgYVtdLGludCBuKXsKCWludCBpOwoJZm9yKGk9MDtpPG4vMjtpKyspewoJCXN3YXAoJmFbaV0sJmFbbi1pLTFdKTsKCX0KfQoKaW50IG1haW4odm9pZCl7CglpbnQgbixpOwoJaW50ICp2OwoJc2NhbmYoIiVkIiwmbik7Cgl2PShpbnQqKW1hbGxvYyhzaXplb2YoaW50KSpuKTsKCWlmKHY9PU5VTEwpewoJCXByaW50ZigiRVJST1JcbiIpOwoJCXJldHVybiAtMTsKCX0KCWZvcihpPTA7aTxuO2krKyl7CgkJc2NhbmYoIiVkICIsJnZbaV0pOwoJfQoJcmV2ZXJzZSh2LG4pOwoJcHJpbnRBKHYsbik7CglmcmVlKHYpOwoJcmV0dXJuIDA7Cn0=