19 lines
306 B
C++
19 lines
306 B
C++
//acmp.ru 0149 razvorot.cpp 9%
|
|
|
|
#include <stdio.h>
|
|
|
|
int main(){
|
|
freopen("INPUT.TXT", "r", stdin);
|
|
freopen("OUTPUT.TXT", "w", stdout);
|
|
|
|
int num;
|
|
scanf("%i", &num);
|
|
|
|
int arr[num];
|
|
for(int i = 0; i < num; i++){
|
|
scanf("\n%i", &arr[i]);
|
|
}
|
|
for(int i = num-1; i >= 0; i--){
|
|
printf("%i ", arr[i]);
|
|
}
|
|
} |