| Problem ID | 1084 |
|---|---|
| Title | Sorting I |
| Description | Sorting is a basic problem in Computer Science. Can you write a program to sort integers?
|
| Input | The first line of the input contains an single integer N (1 ≤ N ≤ 1000), the number of data.
The second line of the input contains N integers to be sorted. Their values are between 0 and 10000, inclusively. |
| Output | Output N integers in a line, the sorted integers.
|
| Sample Input | 4 3 2 1 5 |
| Sample Output | 1 2 3 5 |
| Hint | Bubble Sort
Insertion Sort Selection Sort Counting Sort |
| Last Modified | 2012-12-10 11:07:49 |
| Time Limit | 1 seconds |
| Memory Limit | 64 MB |
| Accepted Solutions | 9 |
| Submitted Solutions | 12 |
| Difficulty Factor | 0 |
Facebook