Skip to content

Conversation

@Ukj0ng
Copy link
Contributor

@Ukj0ng Ukj0ng commented Jan 9, 2026

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

두 로봇의 현재 위치가 입력으로 주어질 때, 서로 통신하기 위해 이동해야 하는 거리의 합의 최솟값을 구하시오.

🔍 풀이 방법

BFS로 도착하는 경로를 구하고 해당 경로의 최대 가중치를 함께 전달한 다음 도착했을 때, 누적 가중치 합에서 최대 가중치를 뺀다.

⏳ 회고

색다르게 표현한 문제라 재밌었다.

@ShinHeeEul ShinHeeEul merged commit 0e92017 into main Jan 9, 2026
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