첫째 줄에 수의 개수 N(1 ≤ N ≤ 1,000,000)이 주어진다.
console.log가 느린친구라 정렬된값 하나마다 호출하시면 최대 100만번 호출됩니다.
정렬 후 결과값 출력시에는 배열 join을 써서 하나의 문자열로 출력하면 통과됩니다.
The array. join() method is an inbuilt function in JavaScript which is used to join the elements of an array into a string. The elements of the string will be separated by a specified separator and its default value is comma(, ).
luciferkala 4년 전
기본 라이브러리만 사용했는데도 시간초과가 뜨네요 ㅠㅠㅠㅠ
도와주세요 ㅠ