Skip to content

Conversation

@zinnnn37
Copy link
Contributor

@zinnnn37 zinnnn37 commented Jan 2, 2026

🧷 문제 링크

[백도어](https://www.acmicpc.net/problem/17396

🧭 풀이 시간

15분

👀 체감 난이도

✏️ 문제 설명

0에서 시작하여 보이지 않는 노드만 거쳐서 N-1에 도달하고자 할 때 최단거리

🔍 풀이 방법

다익스트라
다음 노드 방문처리 할 때 다음 노드가 N-1이 아니면서 보이지 않는지 여부 확인하고 방문처리 하면 됨

⏳ 회고

보이는 노드 dist를 0으로 만들어버리는거 신선하다

@ShinHeeEul ShinHeeEul merged commit 22f6a91 into main Jan 2, 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