Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Jul 30, 2025

🧷 문제 링크

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

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

주난이가 초콜릿 가지고 있는 친구한테서 뺏으려고 함.
그래서 ㅈㄴ 뜀.
뛸때마다 파동이 일어서 상하좌우로 퍼짐.
파동은 이동하면 벽 만날때까지 계속 상하좌우로 퍼짐.
초콜릿에 파동이 도달할때까지 점프 횟수를 구하라.

🔍 풀이 방법

0-1 BFS
BFS인데 벽만나면 1증가, 안만나면 점프횟수 그대로 전달하되, 덱에 넣을때 증가되는경우 뒤에 넣고 아니면 앞에 넣음.

⏳ 회고

덱에 넣는 방식을 몰라서 삽질함. 히잉

@lkhyun lkhyun self-assigned this Jul 30, 2025
@lkhyun lkhyun added success 👍 해설을 보지 않고 풀었을 때 hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 labels Jul 30, 2025
@ShinHeeEul ShinHeeEul merged commit 067065c into main Jul 30, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants