Toggle navigation
HUSTOJ
F.A.Qs
ProblemSet
Source/Category
Status
Ranklist
Contest
Login
Language
中文
ئۇيغۇرچە
English
فارسی
ไทย
한국어
Problem C: 排序(从小到大排)
Problem C: 排序(从小到大排)
[Creator :
]
Time Limit :
1.000
sec
Memory Limit :
128 MB
Solved: 52
Submit: 70
Statistics
Description
排序(从小到大排)
Input
一个整数N(1<=N<=1000000)
N个整数
Output
N个数的不下降序列
Sample Input
Copy
5 3 4 5 2 3
Sample Output
Copy
2 3 3 4 5
HINT
n=int(input())
a=list(map(int,input().split()))
a.sort()
for i in a:
print(i,end=" ")