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
- UIView Animation
- 생활코딩
- 그래프
- C++
- FEED
- 백준온라인
- listview
- BOJ
- 객체
- CustomCollectionViewCell
- dfs
- Custom Cell
- Add TapGesture
- 스택
- 코딩야학
- Cell Animation
- DP
- Fakebook
- XAML
- 타일링
- MVVM
- 데이터 바인딩
- 백준
- 문자열
- command
- Grid
- BFS
- CollectionView
- WPF
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함