OJ-Problems-Source/OpenJudge/ch0106_冰封/04.c

20 lines
197 B
C
Raw Normal View History

2016-07-06 14:15:22 +08:00
#include<stdio.h>
int b[100];
int main(void){
int a, i;
scanf("%d",&a);
for(i = 0; i < a; i++ ){
scanf("%d",&b[i]);
}
for(i = a-1; i >= 0; i-- ){
printf("%d ",b[i]);
}
return 0;
}