Skip to content

Conversation

@0224LJH
Copy link
Contributor

@0224LJH 0224LJH commented Jul 18, 2025

🧷 문제 링크

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

🧭 풀이 시간

100분

👀 체감 난이도

✏️ 문제 설명

지도가 주어질 때, 가장 짧은 다리 하나를 놓아 두 대륙을 연결하는 방법을 찾으시오.

🔍 풀이 방법

너무 복잡하게 생각해서 별의별 방법 쓰느라 시간을 다 썼다.
그런데 시간복잡도 계산해보니, 그냥 각 섬마다 bfs를 쓰면 되는거였...다...

⏳ 회고

시간복잡도 계산 잘하자....

@ShinHeeEul ShinHeeEul merged commit 3875d98 into main Jul 18, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants