← ~/문제
P2011

Sort the Array

Easy
// 문제 설명
Sort an array of integers in non-decreasing order.
// 입력
The first line contains n (1 <= n <= 10^5). The second line contains n integers (-10^9 <= a_i <= 10^9).
// 출력
The sorted integers on a single line, separated by spaces.
// 힌트
Any O(n log n) sort works.
// 예제
입력 예제
5
5 3 8 1 2
출력 예제
1 2 3 5 8
// 문제 정보
난이도Easy
정답률50%
시간 제한1000 ms
메모리 제한65536 KB
정답5