Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Jun 28, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

마을에 N개의 집들이 있고 이들을 잇는 M개의 길들이 있음.
길들은 유지비를 가지고 모든 집들은 연결되어 있음.
이때 마을을 두개의 마을로 쪼개려고 함.
각각의 마을의 집들은 모두 연결되어 있어야 함.
이때 최소 유지비를 출력

🔍 풀이 방법

MST
MST 적용하고 마지막 간선 하나 제거하면 됨.

⏳ 회고

걍 MST 기초

@lkhyun lkhyun self-assigned this Jun 28, 2025
@lkhyun lkhyun added the success 👍 해설을 보지 않고 풀었을 때 label Jun 28, 2025
@ShinHeeEul ShinHeeEul merged commit 41a8381 into main Jun 28, 2025
1 check passed
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