편집 시간: 2022년 1월 31일 오후 6:09

코드

https://github.com/Junroot/Algorithm/blob/main/backjoon/11650.py

풀이

기본적인 정렬 알고리즘을 사용하면 된다.