BOJ)2156 포도주 시식
https://www.acmicpc.net/problem/2156 9465스티커 문제와 유사한 접근 [1] [2] [3] [4] [5] [6] 안마심 0 6 6+10 첫번째잔 6 10 6+13 두번째잔 0 6 +10 10+13 1234567891011121314151617181920212223242526272829#include #include using namespace std; int content[10001];int dp[10001][3]; int max(int a, int b, int c) { return max(max(a, b), c);}int main(){ int n; cin >> n; for (int i = 1; i > content[i]; } dp[0][0] = dp[0][1] = dp[0..
알고리즘/DP
2017. 6. 22. 13:34
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 백준
- 타일링
- 객체
- UIView Animation
- 문자열
- BFS
- 스택
- CustomCollectionViewCell
- 생활코딩
- 코딩야학
- BOJ
- Custom Cell
- Add TapGesture
- Grid
- 데이터 바인딩
- Fakebook
- listview
- DP
- command
- Cell Animation
- MVVM
- dfs
- XAML
- CollectionView
- C++
- WPF
- FEED
- 백준온라인
- 그래프
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함