in reply to Re^3: Sorting challenge
in thread Sorting challenge
I should specify that the input is from a machine- not a human user. So prompting with messages will not give the correct answer either. The site I am working off of is codechef.com.Given the list of numbers, you are to sort them in non decreasing orde +r. 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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Sorting challenge
by davido (Cardinal) on Jul 23, 2013 at 14:59 UTC | |
by hdb (Monsignor) on Jul 23, 2013 at 15:07 UTC | |
by davido (Cardinal) on Jul 23, 2013 at 15:37 UTC | |
by PerlSufi (Friar) on Jul 23, 2013 at 15:24 UTC | |
by davido (Cardinal) on Jul 23, 2013 at 16:00 UTC |