| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | ||||||
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 |
Tags
- shapeArea
- 2015 봄학기 알고리즘
- Sequential Search
- centuryFromYear
- codesignal
- 백준
- til
- baekjun
- codesingal
- 수 정렬하기
- All Longest Strings
- 2750
- 10953
- recursion
- C++
- cpp
- Numpy
- 파이썬 포렌식
- flask
- Daily Commit
- 피보나치 수
- almostIncreasingSequence
- Counting cells in a blob
- data_structure
- Python
- collections.deque
- matrixElementsSum
- markdown
- adjacentElementsProduct
- 파이썬머신러닝완벽가이드
Archives
- Today
- Total
Introfor
Descending Order 본문
|
1
2
|
def descending_order(num):
return int(''.join(sorted(str(num), reverse=True)))
|
cs |
이 문제는 비슷한 문제를 풀어봐서 쉽게 접근할 수 있었다.
'Programming_prob > Codewares' 카테고리의 다른 글
| Persistent Bugger (0) | 2020.09.21 |
|---|---|
| Complementary DNA (0) | 2020.09.20 |
| Who likes it (0) | 2020.09.20 |
Comments