Skip to content

Conversation

@suyeun84
Copy link
Contributor

🧷 문제 링크

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

🧭 풀이 시간

40분

👀 체감 난이도

✏️ 문제 설명

A, B, C리터 물통 3개가 있고, C는 가득 차 있음
물을 다른 물통으로 부을 수 있을 때, A 물통이 비어있을 때, C 물통에 담겨있을 수 있는 물의 양 구하기

🔍 풀이 방법

dfs 사용
3차원 배열로 각각의 방문 여부 전부 확인

⏳ 회고

3차원 배열 오랜만이다..
TreeSet 사용하면 set이면서 정렬도 같이 시킬 수 있음!

@suyeun84 suyeun84 self-assigned this Jun 29, 2025
@suyeun84 suyeun84 added success 👍 해설을 보지 않고 풀었을 때 hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 labels Jun 29, 2025
@ShinHeeEul ShinHeeEul merged commit 453264b into main Jun 29, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hint 💡 반례를 참고했거나 힌트를 얻고 풀었을 때 success 👍 해설을 보지 않고 풀었을 때

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants