Skip to content

Conversation

@Seol-JY
Copy link
Contributor

@Seol-JY Seol-JY commented Jun 12, 2025

🧷 문제 링크

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

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

수빈이가 동생을 찾는 최단시간을 구하는 문제

🔍 풀이 방법

BFS (Zero-One BFS) 사용
2*X (0초) → 덱 앞쪽에 추가
X-1, X+1 (1초) → 덱 뒤쪽에 추가

⏳ 회고

0-1 BFS 인거 알고 풀었음
다익스트라 쓰려 하지 말고, 이런 상황에서는 0-1 BFS를 사용해보자

@Seol-JY Seol-JY added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Jun 12, 2025
@ShinHeeEul ShinHeeEul merged commit 7aa8eba into main Jun 12, 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