Skip to content

Conversation

@zinnnn37
Copy link
Contributor

@zinnnn37 zinnnn37 commented Sep 10, 2025

🧷 문제 링크

철로

🧭 풀이 시간

70분

👀 체감 난이도

✏️ 문제 설명

길이 d의 철로를 놓을 때 그 철로만 가지고도 집-직장 다닐 수 있는 루트의 최대값

🔍 풀이 방법

끝점을 기준으로 두고 start를 정해서 start ~ end 내부에 포함되는 루트만 큐에 남깁니다.
우선순위 큐를 사용했는데 관성적으로 시작점 기준으로 정렬해서 계속 틀렸습니다.
끝점이 기준이라 끝점 기준으로 진행해야합니다,,
큐 개어렵네요

⏳ 회고

ㅋㅋ 커밋 없애는 거 실패햇고요.. 우울하네요..

@ShinHeeEul ShinHeeEul merged commit f07eb48 into main Sep 10, 2025
1 check passed
@zinnnn37 zinnnn37 added success 👍 해설을 보지 않고 풀었을 때 hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 labels Sep 11, 2025
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