Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Sep 23, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

X에서 Z로 가는데 Y들을 적어도 하나 거쳐서 가야함.
이때 최단 거리 출력

🔍 풀이 방법

다익스트라
X에서 다익, Z에서 다익하고 distX[Y] + distZ[Y]의 최소를 Y들중 구하면댐

⏳ 회고

다익스트라를 해야하는데 중간에서 만난다면 양끝에서 해보는 것을 생각해보자!

@lkhyun lkhyun self-assigned this Sep 23, 2025
@lkhyun lkhyun added success 👍 해설을 보지 않고 풀었을 때 hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 labels Sep 23, 2025
@ShinHeeEul ShinHeeEul merged commit c5b0029 into main Sep 23, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants