Skip to content

Conversation

@zinnnn37
Copy link
Contributor

🧷 문제 링크

우유 도시

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

우유를 0 -> 1 -> 2 -> 0 -> ... 순서로만 마실 수 있음
오른쪽 혹은 아래로만 움직일 수 있음
마실 수 있는 우유의 최대 갯수는?

🔍 풀이 방법

dp인데 직전에 어떤 우유를 마셨는지 저장해하려고 Milk 객체를 기반으로 dp 배열을 만들었음

  • (1, 1)이 딸기우유라는 보장 없음

⏳ 회고

직전에 어떤 우유를 마셨는지를 고려 안해서 틀림

@ShinHeeEul ShinHeeEul merged commit 1868f85 into main Nov 26, 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