Toggle navigation
万里ACM
F.A.Qs
Web Board
ProblemSet
Source/Category
Status
Ranklist
Contest
[
ProblemSet
Status
Ranklist
OI Ranklist
Statistics
]
Login
Problem J: 逆序输出数据
Problem J: 逆序输出数据
Time Limit:
1 Sec
Memory Limit:
128 MB
Submit:
72
Solved:
50
[
Submit
] [
Status
] [
Web Board
] [Creator:
]
Description
输入一组数据(整数,不多于20个),逆序输出这组数据
Input
正整数N(1≤N≤20),之后是N个整数
Output
输入数据的逆序,每项数据之前空一格
Sample Input
Copy
1 100 3 1 2 3 5 5 4 3 2 1
Sample Output
Copy
100 3 2 1 1 2 3 4 5