Skip to content

Conversation

@Seol-JY
Copy link
Contributor

@Seol-JY Seol-JY commented Oct 19, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

N개의 칸으로 이루어진 연병장에서 M개의 구간 업데이트 지시를 수행한 후 각 칸의 최종 높이를 구하는 문제

🔍 풀이 방법

각 지시마다 diff[a]에 k를 더하고, diff[b+1]에 k를 빼서 구간 표시
초기 높이에 높이 변화량을 더해 최종 높이 출력

⏳ 회고

태상아 파이팅해라

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