-
[백준] 1427 숫자 내림차순 정렬백준 Online Judge 2021. 8. 27. 15:51
문제 설명
- 입력 받은 숫자를 내림차순으로 정렬
문제 풀이
array = input() for i in range(9, -1, -1): for j in array: if int(j) == i: print(i, end='')
GitHub - DAWUNHAN/Algorithms-and-DataStructure: Algorithms and DataStructure with Python
Algorithms and DataStructure with Python. Contribute to DAWUNHAN/Algorithms-and-DataStructure development by creating an account on GitHub.
github.com
[ 패스트캠퍼스 알고리즘 / 기술면접 완전 정복 올인원 패키지 Online ] 강의 내용을 정리한 자료입니다.
'백준 Online Judge' 카테고리의 다른 글
[백준] 11650 좌표 정렬하기 (0) 2021.08.30 [백준] 10814 나이 순으로 정렬하기 (0) 2021.08.27 [백준] 2750 수 정렬 (0) 2021.08.27 [백준] ⭐⭐ 4195 친구 네트워크 (0) 2021.08.26 [백준] 1920 수 찾기 (0) 2021.08.26