摘要: 题目:http://poj.org/problem?id=3176bowl[i][j] += max(bowl[i-1][j-1], bowl[i-1][j]);代码:#include #include int bowl[355][355];int main(){ int row,i,j,tmp... 阅读全文
posted @ 2012-05-01 16:44 开开甲 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 题目:http://poj.org/problem?id=1276背包问题。看指定的货币能组合成哪些情况。钱最多且#include #include int a[11],type[11],m[100001];int main(){ int money,num,i,j,k; wh... 阅读全文
posted @ 2012-05-01 16:26 开开甲 阅读(182) 评论(0) 推荐(0) 编辑