1045: 数组倒序

Memory Limit:128 MB Time Limit:1 S
Judge Style:Text Compare Creator:
Submit:318 Solved:240

Description

将一个数组中的所有元素倒序存放 。

Input

第一行:输入一个整数N,表示数组元素个数

第二行:输入N个整数

Output

输出倒序存储的数组元素

Sample Input Copy

5
3 54 7 8 2

Sample Output Copy

2 8 7 54 3

加入题单

算法标签: