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
|
||||||
2011-07-28 19:38:57 HWK
@hallvabo: I think no longer. |
||||||
2011-07-28 18:56:04 Hallvard Norheim Bø
@Piotr: I think the function in question is back now :) |
||||||
2011-06-16 13:15:01 Piotr KÄ…kol
I did rejudge of all AC Bash programs because a function included in these programs is no more available. Still, it can be done with Bash with 15 chars. |
||||||
2010-07-14 15:21:31 Ricardo Bittencourt
Thanks, if it won't happen again then I see no problem. |
||||||
2010-07-14 09:48:58 Piotr KÄ…kol
Rules haven't changed, just task was moved. It also take place on main SPOJ and pl.spoj.pl so it's not misused. But now I'll precisely consider where to put the task and won't move it - no more exceptions. |
||||||
2010-07-13 23:52:19 Ricardo Bittencourt
I agree it's too easy, but I don't think it's fair to change the score after it has been posted. People won't feel motivated in the contest if the rules are changing mid-game. |
||||||
2010-07-13 16:16:18 Piotr KÄ…kol
Because it is too easy (I don't know why at first I added it to main). Don't You agree that it's trivial? Of course if You have arguments for moving it back to main I'll reconsider it. :-) Last edit: 2010-07-13 16:17:27 |
||||||
2010-07-13 13:32:32 Ricardo Bittencourt
Why was this changed to tutorial? |
||||||
2010-03-25 06:43:46 :(){ :|: & };:
I was hoping for a range n<10,so that I could reduce my solution further ;-) |
||||||
2010-03-24 19:45:34 Piotr KÄ…kol
Done. I didn't write it because it is so small that even int is enought. ;-) |