TSORT  Turbo Sort
Given the list of numbers, you are to sort them in non decreasing order.
Input
t – the number of numbers in list, then t lines follow [t <= 10^6].
Each line contains one integer: N [0 <= N <= 10^6]
Output
Output given numbers in non decreasing order.
Example
Input:
5 5 3 6 7 1
Output:
1 3 5 6 7
hide comments
Vaibhav Jain:
20110711 09:12:16
My Java code is running fine on Eclipse but here it gives NZEC again and again. I have named the class Main and everything else appears correct.Does anybody give me an idea of what might be wrong? 

ndduy1995:
20110628 21:48:01
You can use distribution Counting in O(n) :D 

ANANT AGARWAL:
20110527 12:06:06
for those whose STL sort is giving TLE try to use faster I/O methods 

Piotr Dzienis:
20110301 20:06:57
i used vector tables and sort from stl library and i have acc 

Daniel Camacho:
20110224 15:41:40
Where is STL occurrence? Crazy Jhon jajajaj 

Jhon Camargo:
20110218 21:15:38
what is the meaning of STL? 

YatsukoYin:
20101229 18:42:23
WTF... always getting TLE on F#...


neerajcrespo:
20101224 03:05:34
why my stl sort is also giving TLE? i simple used function sort(v.begin(),v.end()); is it not enough? 

Drew Saltarelli:
20100116 03:42:44
@MichaĆ Stolarczyk


anonymous:
20091012 13:06:39
I am using an c++ implementation of a rather optimized version of quicksort and still getting TLE. Am I doing something wrong or is just quicksort not effective enough?

Added by:  Roman Sol 
Date:  20050314 
Time limit:  2.700s 
Source limit:  50000B 
Memory limit:  1536MB 
Cluster:  Cube (Intel G860) 
Languages:  All except: ERL JSRHINO NODEJS PERL6 VB.NET 
Resource:  ZCon 