Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

뮤탈리스크가 공격을 할 때, 한 번에 세 개의 SCV 공격
일이삼 순서대로 체력을 9,3,1을 잃음
모든 SCV를 파괴하기 위해 공격해야 하는 횟수의 최솟값 구하기

🔍 풀이 방법

bfs 이용
6방향을 정해두고, 각 공격을 받았을 때의 남은 체력을 다시 큐에 넣음
그리고 전부 0이 되면 return

⏳ 회고

어-렵당..난..

@suyeun84 suyeun84 self-assigned this Sep 30, 2025
@suyeun84 suyeun84 added the hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 label Sep 30, 2025
@suyeun84 suyeun84 merged commit e171d51 into main Sep 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 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants