Skip to content

Conversation

@suyeun84
Copy link
Contributor

@suyeun84 suyeun84 commented Sep 1, 2025

🧷 문제 링크

https://school.programmers.co.kr/learn/courses/30/lessons/132266

🧭 풀이 시간

20분

👀 체감 난이도

✏️ 문제 설명

각 부대원이 여러 지역에 흩어져 있을 때,
sources의 원소 순서대로 부대로 복귀할 수 있는 최단시간 구하기

🔍 풀이 방법

bfs이용
answer 배열에 걸리는 최단시간 저장해두고 갱신시켜줌

⏳ 회고

기본적인 bfs였다.

@suyeun84 suyeun84 self-assigned this Sep 1, 2025
@suyeun84 suyeun84 added the success 👍 해설을 보지 않고 풀었을 때 label Sep 1, 2025
@ShinHeeEul ShinHeeEul merged commit 41acdc2 into main Sep 1, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants