mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
20 lines
197 B
C
20 lines
197 B
C
|
#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;
|
||
|
}
|