Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

원숭이가 이동하려고 할 때, 말과 같이는 K번만 이동할 수 있고 그 이외에는 인접한 칸으로만 이동할 수 있을 때 왼쪽 위에서 아래쪽 아래칸으로 이동하는 최소 이동횟수 구하기

🔍 풀이 방법

bfs이용
visited를 3차원 배열로 만들었다. y, x좌표 그리고 원숭이가 말처럼 이동한 횟수를 저장해두고 방문여부 확인함

⏳ 회고

일반적 bfs같다

@suyeun84 suyeun84 self-assigned this Oct 30, 2025
@suyeun84 suyeun84 added the success 👍 해설을 보지 않고 풀었을 때 label Oct 30, 2025
@suyeun84 suyeun84 merged commit 33df0bd into main Oct 30, 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.

2 participants