Skip to content

Conversation

@oncsr
Copy link
Contributor

@oncsr oncsr commented Apr 8, 2025

🧷 문제 링크

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

🧭 풀이 시간

10분

👀 체감 난이도

✏️ 문제 설명

직사각형 미로 속에 갇힌 민식이가 미로를 탈출하는데 걸리는 최소 이동 횟수를 구해보자.
미로에는 벽이 존재하며, 열쇠와 그에 대응하는 문이 있다.

🔍 풀이 방법

[사용한 알고리즘]

  • BFS

기본적인 BFS인데, 열쇠 보유 여부에 따라 상태를 나눠 생각하면 된다.

⏳ 회고

재밌는 문제

@oncsr oncsr self-assigned this Apr 8, 2025
@oncsr oncsr added the success 👍 해설을 보지 않고 풀었을 때 label Apr 8, 2025
@ShinHeeEul ShinHeeEul merged commit 12c6338 into main Apr 8, 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