逆序输出
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
Description
输入n个数,要求程序按输入时的逆序把这n个数打印出来,也就是说,按照输入的相反顺序打印出这n个数。
Input Format
输入格式: 第一行:n n<=100 第二行:n个由空格隔开的整数。。
Output Format
输出格式: n个由空格隔开的整数,是输入数据的逆序。
Sample
input
5
2 3 6 1 3
output
3 1 6 3 2
Hint
时间限制:
20221124--模拟赛
- Status
- Done
- Rule
- OI
- Problem
- 4
- Start at
- 2022-11-24 7:40
- End at
- 2022-11-24 12:00
- Duration
- 4.3 hour(s)
- Host
- Partic.
- 43