[20250611] BOJ / G3 / ACM Craft / 김수연 #341
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧷 문제 링크
https://www.acmicpc.net/problem/1005
🧭 풀이 시간
40분
👀 체감 난이도
✏️ 문제 설명
건설 순서 규칙이 주어져 있을 때, 목표 건물을 짓기 위해 걸리는 최소시간 구하기
🔍 풀이 방법
위상정렬 + dp 사용해서 진입차수 0여부 판단
⏳ 회고
방법을 아는데 하도 오랜만이라 구현이 잘 안됐다..