Skip to content

[20251019] BOJ / G5 / 태상이의 훈련소 생활 / 김수연#1166

Merged
suyeun84 merged 1 commit intomainfrom
suyeun84
Oct 19, 2025
Merged

[20251019] BOJ / G5 / 태상이의 훈련소 생활 / 김수연#1166
suyeun84 merged 1 commit intomainfrom
suyeun84

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

조교 M명이 a번부터 b번까지 높이 k만큼의 흙을 덮거나 파내라고 지시할 때,
조교들의 지시를 모두 수행한 뒤 연방장 각 칸의 높이 구하기

🔍 풀이 방법

누적합 + dp
처음과 끝만 저장하고 누접합 구함

⏳ 회고

에휴 어렵다

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

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant