[20250907] BOJ / G2 / 집 구하기 / 김민진 #834
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🧷 문제 링크
집 구하기
🧭 풀이 시간
50분
👀 체감 난이도
✏️ 문제 설명
3회차 B형이랑 개똑같은 문제..^_^
🔍 풀이 방법
맥날 → 집방향 다익스트라 한 번집 → 스벅방향 다익스트라 한 번양방향 그래프라 따로 순방향, 역방향 그래프로 구분지을 필요는 없음
⏳ 회고
다익스트라 로직이 죔 잘못되어 시간초과가 났다는 것을 복기하다가 깨달음..............
왜 어제는 그걸 알아채지 못 했을까...................
막 어려운 문제도 아니었ㄴ는데..............