Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- level0
- 그리디
- N과M
- 파이썬
- 가상메모리 관리
- level3
- 스택
- level2
- 가상메모리
- 딕셔너리
- python
- 구현
- 프로그래머스
- 힙
- MYSQL
- dict
- 브루트포스
- DP
- BFS
- dfs
- BOJ
- 백준
- 다이나믹 프로그래밍
- 수학
- level1
- 코딩테스트
- 다익스트라
- 재귀
- 운영체제
- programmers
Archives
- Today
- Total
목록14247 (1)
동캄의 코딩도장
백준 14247 [나무 자르기] 파이썬
https://www.acmicpc.net/problem/14247 14247번: 나무 자르기 영선이는 나무꾼으로 나무를 구하러 오전에 산에 오른다. 산에는 n개의 나무가 있는데, 영선이는 하루에 한 나무씩 n일 산에 오르며 나무를 잘라갈 것이다. 하지만 이 산은 영험한 기운이 있어 www.acmicpc.net #백준 14247 import sys case = int(sys.stdin.readline()) tree = list(map(int,sys.stdin.readline().split())) grow = list(map(int,sys.stdin.readline().split())) arr=[] for i in range(case): arr.append((tree[i],grow[i])) arr.sort..
코테/BOJ
2022. 9. 4. 23:46