일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- lcm
- 뒤로가기
- 최소공배수
- permutation
- itertools
- 11기
- 1260
- 6603
- 앱
- Python
- 11057
- 코테
- 파이썬
- expo
- 백준
- Combination
- Android
- Kotlin
- 매일11시
- 11054
- 홈화면
- 나머지
- 1182
- 11053
- 순열
- 괄호
- LCS
- 코틀린
- 9095
- 안드로이드
Archives
- Today
- Total
목록1138 (1)
황소개발자
백준 1138 파이썬 python : 한 줄로 서기 @@황소처럼 우직하게@@ 집어넣을 때 잘 고려해주자
집어 넣을 때, 큰 놈이 앞에 있는걸 만족하면 그 때 넣어주는거 넣어 줄 때, 0이 아니면 그 다음 칸으로 n = int(input()) lst = list(map(int, input().split())) line = [0] * n def insert(num, big): cnt = 0 i = 0 while i = num: cnt += 1 elif line[i] < num: pass i += 1 line[i] = num for i in range(n): insert(i + 1, lst[i]) # something : ls..
백준 문제 풀이
2020. 4. 24. 19:17