13089: 习题6-5 数组元素逆置
Memory Limit:12 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:3
Solved:0
Description
将一个长度为10的整型数组中的值按逆序重新存放。
如:原来的顺序为1,2,3,4,5,6,7,8,9,0,要求改为0,9,8,7,6,5,4,3,2,1
Input
从键盘上输入以空格分隔的10个整数。
Output
按相反的顺序输出这10个数,每个数占一行。
Sample Input Copy
1 2 3 4 5 6 7 8 9 0
Sample Output Copy
0
9
8
7
6
5
4
3
2
1