Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Sep 8, 2025

🧷 문제 링크

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

🧭 풀이 시간

15분

👀 체감 난이도

✏️ 문제 설명

1,1부터 N,M까지 벽을 최소로 뚫어서 가는 경우에 뚫는 횟수 출력.

🔍 풀이 방법

0-1 BFS
안 뚫는 경우 큐 앞에, 뚫는 경우 큐 뒤에 넣어서 N,M 가면 종료

⏳ 회고

BFS 안 푼지 오래돼서 오랜만에 풀었다. 요즘 알고리즘이 풀기 싫다.

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