반응형 14271 baekjoon - python - 1427 https://www.acmicpc.net/problem/1427 1427번: 소트인사이드 첫째 줄에 정렬하고자하는 수 N이 주어진다. N은 1,000,000,000보다 작거나 같은 자연수이다. www.acmicpc.net # @Author YoungMinKim # baekjoon num = list(input()) result = sorted(num,reverse=True) result2=''.join(result) print(int(result2)) 2020. 9. 4. 이전 1 다음 반응형