Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Unreal Engine5
- algorithm
- directx
- GeeksForGeeks
- winapi
- NRVO
- softeer
- C
- C++
- 오블완
- baekjoon
- Programmers
- RootMotion
- const
- 언리얼엔진5
- UnrealEngine5
- 1563
- DeferredRendering
- IFileDialog
- 팰린드롬 만들기
- 백준
- 줄 세우기
- 프로그래머스
- 2294
- Frustum
- DirectX11
- RVO
- 티스토리챌린지
- UE5
- UnrealEngine4
Archives
- Today
- Total
목록이항 계수 2 (1)
Game Develop
[Algorithm]Baekjoon 11051 : 이항 계수 2
https://www.acmicpc.net/problem/11051 11051번: 이항 계수 2 첫째 줄에 \(N\)과 \(K\)가 주어진다. (1 ≤ \(N\) ≤ 1,000, 0 ≤ \(K\) ≤ \(N\)) www.acmicpc.net 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 int n, k; int dp[2000][2000] = { 0 }; int main() { ios::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin >> n >> k; dp[0][1] = dp[1][1] = dp[1][2] = 1; for (int i = 2; i
Algorithm/Baekjoon
2023. 10. 17. 15:10