文件名称:a
介绍说明--下载内容均来自于网络,请自行研究使用
Descr iption
Give a set of numbers, output them after sort. You may use any algorithm you like to solve it.
Input
Each input file contains only one case.
Each test case begins with an integer N(0<N<=1,000,000), the size of the set.
The Next line contains N numbers, represent the elements of the set. Each number range in [0..2147483647]
Output
Output the set in one line after sort.
Sample Input
4
4 15 8 5
Sample Output
4 5 8 15
Give a set of numbers, output them after sort. You may use any algorithm you like to solve it.
Input
Each input file contains only one case.
Each test case begins with an integer N(0<N<=1,000,000), the size of the set.
The Next line contains N numbers, represent the elements of the set. Each number range in [0..2147483647]
Output
Output the set in one line after sort.
Sample Input
4
4 15 8 5
Sample Output
4 5 8 15
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.cpp