C语言10.4

Time Limit: 1000ms
Memory Limit: 32768KB
64-bit integer IO format: %lld      Java class name: Main

Description

输入n个整数,按相反顺序保存在数组中,并输出。

Input

第一行有一个整数n,第二行包含了n个用空格隔开的整数。输入保证n不超过100。

Output

输出按相反顺序保存在数组中的数,每个数之后输出一个空格。
请注意行尾输出换行。

Sample Input

10
1 2 3 4 5 6 7 8 9 0

Sample Output

0 9 8 7 6 5 4 3 2 1 

Author

Admin
Language: 
Theme: 
Share Code? 

Powered by NB231 | Current Style: .