Skip to content

Conversation

@Seol-JY
Copy link
Contributor

@Seol-JY Seol-JY commented Feb 17, 2025

🧷 문제 링크

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

🧭 풀이 시간

20분

👀 체감 난이도

✏️ 문제 설명

폭탄은 3초 뒤에 터지는 시한폭탄이고, 봄버맨이 짝수초동안 빈 구간에 폭탄을 모두 놓는다. 폭탄은 연쇄폭발하지 않는다.
이때, N초가 지난 후의 격자판 상태를 출력하라.

🔍 풀이 방법

N이 짝수인 경우에는 항상 모두 폭탄이 채워져 있을 것이 자명함. 홀수일때 나올 수 있는 상황을 하나씩 그리다 보면 특정 패턴이 보인다.

⏳ 회고

1초일때와 5초일때가 다르고, 9초 부터는 5초와 같다는 것을 파악하지 못했다. 5초 9초 모두 1초와 같게 나올것이라고 판단해서 처음에 틀렸음 ㅜㅜ

@Seol-JY Seol-JY added the success 👍 해설을 보지 않고 풀었을 때 label Feb 17, 2025
@ShinHeeEul ShinHeeEul merged commit 2df86d2 into main Feb 17, 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