Skip to content

Conversation

@Ukj0ng
Copy link
Contributor

@Ukj0ng Ukj0ng commented Sep 12, 2025

🧷 문제 링크

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

🧭 풀이 시간

30분

👀 체감 난이도

✏️ 문제 설명

기존 RGB에서 마지막에 1번집과 N번집을 비교하는 문제, 그래서 최소 cost 얼만데?

🔍 풀이 방법

집을 하나하나 강제해서 DP를 3번 돌림

⏳ 회고

너무 한번에 풀려고 하는 것보다 3번같이 적은 양은 for문보다 직접 때려박는게 더 구현이 빠르다.

@ShinHeeEul ShinHeeEul merged commit 499698f into main Sep 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants