Skip to content

Conversation

@LiiNi-coder
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

65 분

👀 체감 난이도

✏️ 문제 설명

  • 그래프 주어지고, 두 정점이 주어지는데, 두 정점을 반드시 지나는 최단경로 출력

🔍 풀이 방법

  • 1, a, b 각각 마다 다익스트라 구하고 두 경로 비교

⏳ 회고

  • 1->a->b 뿐만아니라 1->b->a 를 놓쳐서 삽질한 문제

@LiiNi-coder LiiNi-coder added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Dec 20, 2025
@ShinHeeEul ShinHeeEul merged commit 39f2bc8 into main Dec 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants