Skip to content

Conversation

@0224LJH
Copy link
Contributor

@0224LJH 0224LJH commented Dec 3, 2025

🧷 문제 링크

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

🧭 풀이 시간

20분

👀 체감 난이도

✏️ 문제 설명

0부터 N까지의 정수 K개를 더해서 그 합이 N이 되는 경우의 수를 구하는 프로그램을 작성하시오.

덧셈의 순서가 바뀐 경우는 다른 경우로 센다(1+2와 2+1은 서로 다른 경우). 또한 한 개의 수를 여러 번 쓸 수도 있다.

🔍 풀이 방법

전형적인 dp문제이다. O(NNK)로 해결할 수 있다.

⏳ 회고

@0224LJH 0224LJH added the success 👍 해설을 보지 않고 풀었을 때 label Dec 3, 2025
@ShinHeeEul ShinHeeEul merged commit ddce5bc into main Dec 3, 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