13095: 例题6-1 逆序输出数组元素
Memory Limit:12 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:3
Solved:0
Description
从键盘上输入10个整数,存储在一个长度为10的整型数组中,要求将输入的10个数逆序输出。
如输入为:0,1,2,3,4,5,6,7,8,9 输出为9,8,7,6,5,4,3,2,1,0
Input
10个整数,以空格分隔
Output
将输入的10个整数逆序输出,每个数占一行。
Sample Input Copy
0 1 2 3 4 5 6 7 8 9
Sample Output Copy
9
8
7
6
5
4
3
2
1
0