Problem hidden
This problem was hidden by Editorial Board member probably because it has incorrect language version or invalid test data, or description of the problem is not clear.

REVORDER - Reverse order

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
2015-09-28 04:49:49 Jens Stimpfle
Could you check what's wrong with my 15224181? I don't think it should fail.

Last edit: 2015-09-29 19:10:31
2014-04-27 20:15:34 Piotr KÄ…kol
Sure. Done. Nice job!
2014-04-27 16:51:10 Mitch Schwartz
@Piotr: Would you mind changing the time limit to 5s? I checked that for the worst possible input data, my latest BF code runs in about 4.5s. (And it's probably not necessary to rejudge older submissions?)

Edit: Thanks! :D

Last edit: 2014-05-12 15:02:17
2014-01-10 16:47:13 Piotr KÄ…kol
Hmm. Weird. After resubmitting it I get SIGSEGV. :-/
2014-01-10 01:55:24 Hallvard Norheim Bø
@Piotr: now my 55 bytes solution works again :)
2013-12-07 14:18:18 Piotr KÄ…kol
"XYZ: cannot create temporary file in '/home/X9Z48I': Permission denied"
You can use XYZ but in another way.
2013-12-07 10:54:21 Linghui Liu
Hi, @Piotr, why my 10608213 NZEC?
http://www.spoj.com/forum/viewtopic.php?f=5&t=4433 said fixed.
2012-08-21 18:42:56 Hallvard Norheim Bø
My 55 bytes C submission didn't survive the recent rejudge :(
Has the compiler version or runtime been updated lately?
Couldn't find anything in the forum about updates which could affect C.
2011-07-29 11:01:12 HWK
Oh, I submitted an old, wrong version. Now again 10 bytes.
2011-07-28 20:22:07 Piotr KÄ…kol
Yes, it's back. :-)
@HWK - Check Your output. ;-)
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.