Submit | All submissions | Best solutions | Back to list |
REVORDER - Reverse order |
Wersja polska | English version |
Reverse order of given numbers.
Input
The first line of the standard input contains one integer t (t<1001) which is the number of test cases.
In each of the next t lines there is one integer n (n<1001).
Output
The t numbers in reverse order.
Example
Input: 5
7
4
1
0
8
Output: 8
0
1
4
7
Added by: | Piotr KÄ…kol |
Date: | 2010-03-21 |
Time limit: | 1s-1.393s |
Source limit: | 50000B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: NODEJS OBJC SCM qobi VB.NET |
hide comments
|
||||||
2010-03-24 14:53:42 :(){ :|: & };:
Please specify the range of the integers. Last edit: 2010-03-24 14:54:15 |