Skip to content

Conversation

@lkhyun
Copy link
Contributor

@lkhyun lkhyun commented Jul 31, 2025

🧷 문제 링크

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

🧭 풀이 시간

60분

👀 체감 난이도

✏️ 문제 설명

초기 구름이 있음.
구름은 1. 이동하고 2.비를 내리고(+1) 사라짐 3. 비가 내린곳에서 대각선 방향의 4개의 위치에서 물이 있다면 1씩 끌어옴. 4. 물이 2 이상 있는 곳에서 구름이 다시 생성됨. 반복

🔍 풀이 방법

시뮬레이션
그대로 구현하면 되는데, 이게 이동시 위아래 왼쪽 오른쪽이 서로 연결 되어있어서 모듈러 연산을 해야함. 그래서 1-based를 0-based로 바꾸고 모듈러 하고 다시 0-based에서 1-based로 수정해야함.

⏳ 회고

시뮬레이션 귀차늠..

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