Skip to content

[20250827] BOJ / P5 / 도로포장 / 이강현#754

Merged
ShinHeeEul merged 1 commit intomainfrom
lkhyun
Aug 27, 2025
Merged

[20250827] BOJ / P5 / 도로포장 / 이강현#754
ShinHeeEul merged 1 commit intomainfrom
lkhyun

Conversation

@lkhyun
Copy link
Copy Markdown
Contributor

@lkhyun lkhyun commented Aug 27, 2025

🧷 문제 링크

https://www.acmicpc.net/problem/1162

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

1에서 N까지 가는데 도로 포장을 하면 비용이 0이됨.
K개만큼 도로 포장 가능. 최소 비용 출력

🔍 풀이 방법

다익스트라
dist[목적지][사용한 도로포장 개수]로 정의하고 다익스트라 적용

⏳ 회고

그냥 dist 하나 정보 추가된건데 플레5는 좀 아닌거 같긴해.

@lkhyun lkhyun self-assigned this Aug 27, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Aug 27, 2025
@ShinHeeEul ShinHeeEul merged commit 191021d into main Aug 27, 2025
1 check passed
@Ukj0ng
Copy link
Copy Markdown
Contributor

Ukj0ng commented Aug 29, 2025

gosu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants