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
- 브루트포스
- 가상메모리
- DP
- dict
- 운영체제
- 그리디
- 재귀
- 구현
- 스택
- 백준
- BFS
- 수학
- 가상메모리 관리
- programmers
- level2
- level0
- dfs
- level3
- MYSQL
- N과M
- 딕셔너리
- level1
- 프로그래머스
- 다익스트라
- python
- 힙
- BOJ
- 파이썬
- 다이나믹 프로그래밍
- 코딩테스트
Archives
- Today
- Total
목록소가 길을 건너가 이유 3 (1)
동캄의 코딩도장
백준 14469 [소가 길을 건너가 이유 3] 파이썬
https://www.acmicpc.net/problem/14469 14469번: 소가 길을 건너간 이유 3 이웃 농장의 소가 길을 마구잡이로 건너는 것에 진절머리가 난 존은 극단의 결정을 내린다. 농장 둘레에 매우 큰 울타리를 짓는 것이다. 이렇게 하면 근처 농장 출신의 소가 들어올 일이 거의 없 www.acmicpc.net import sys input = sys.stdin.readline N = int(input()) cows = [] for _ in range(N): cow = list(map(int, input().split())) cows.append(cow) cows.sort() time = 0 for i in range(len(cows)): if time < cows[i][0]: time ..
코테/BOJ
2022. 2. 10. 20:22