-->
当前位置:首页 > 题库

PROGRAMMING:Flip array

Luz5年前 (2021-05-10)题库353
Input a group of numbers (less than 50 elements), and output the array elements in reverse order.
###Input format:
In the first line, enter a number n to represent the number of elements in the array, and then enter n integers in one line, separated by spaces.
###Output format:
The group of numbers are output in reverse order, and the numbers are separated by a space. There is no space before the first number and no space after the last number.
###Input example:
```in
twelve
36 74 20 96 21 48 99 68 84 81 34 53
```
###Output example:
```out
53 34 81 84 68 99 48 21 96 20 74 36
```







answer:If there is no answer, please comment