Skip to content

Conversation

@Seol-JY
Copy link
Contributor

@Seol-JY Seol-JY commented Oct 18, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

N개의 땅 중에서 세 친구 A, B, C로부터 가장 먼 곳을 찾기
각 땅에서 가장 가까운 친구까지의 거리를 기준으로, 그 값이 최대인 땅을 선택

🔍 풀이 방법

세 친구의 위치에서 각각 다익스트라 알고리즘을 실행하여 모든 땅까지의 최단 거리 구함
각 땅마다 세 친구까지의 거리 중 최솟값 계산
그 최솟값이 가장 큰 땅을 선택

⏳ 회고

전형적인 다익스트라 응용 문제

@Seol-JY Seol-JY self-assigned this Oct 18, 2025
@Seol-JY Seol-JY added the success 👍 해설을 보지 않고 풀었을 때 label Oct 18, 2025
@ShinHeeEul ShinHeeEul merged commit 1d4d08f into main Oct 18, 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