import sys
input = sys.stdin.readline
n, k = map(int,input().split())
dp = [[0] * 201 for _ in range(201)]
for i in range(201):
dp[1][i] = 1
dp[2][i] = i+1
for i in range(3, 201):
dp[i][1] = i
for j in range(2, 201):
dp[i][j] = (dp[i-1][j] + dp[i][j-1]) % 1000000000
print(dp[k][n])
'Algorithm > Python' 카테고리의 다른 글
[Algorithm|Python] 백준 1351번 (0) | 2025.02.22 |
---|---|
[Algorithm|Python] 백준 9251번 (0) | 2025.02.20 |
[Algorithm|Python] 백준 11053번 (0) | 2025.02.19 |
[Python|Algorithm] 백준 1003번 파이썬 (0) | 2025.02.18 |
[Algorithm|Python] 백준 19598번 / 99클럽 20일차 TIL (0) | 2025.02.15 |