BOJ)2579 계단 오르기 (다시보기)
문제 : https://www.acmicpc.net/problem/2579 #include #include using namespace std; int n; int arr[100001]; int dp[500005][3]; void func() { dp[1][0] = 0; dp[1][1] = arr[1]; dp[1][2] = 0; dp[2][0] = arr[1]; dp[2][1] = arr[2]; dp[2][2] = dp[1][1] + arr[2]; for (int i = 3; i > n; for (int i = 1; i > arr[i]; } func(); cout
알고리즘/(깨짐)
2017. 3. 7. 00:11
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 객체
- command
- Grid
- CustomCollectionViewCell
- 데이터 바인딩
- Fakebook
- BOJ
- DP
- 백준
- FEED
- listview
- 문자열
- CollectionView
- Custom Cell
- 그래프
- 생활코딩
- 코딩야학
- 백준온라인
- C++
- WPF
- 타일링
- BFS
- UIView Animation
- Add TapGesture
- MVVM
- dfs
- XAML
- Cell Animation
- 스택
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
글 보관함