![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
动态规划
文章平均质量分 62
烟雨默然
这个作者很懒,什么都没留下…
展开
-
HDU 1024
Max Sum Plus Plus Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Now I think you have got an AC in Ignatius.L's "Max Sum" problem.原创 2012-03-31 21:05:03 · 831 阅读 · 0 评论 -
zoj 3211
#include #include #include #include using namespace std; struct Node { int ai,bi; }tree[260]; bool cmp(Node a, Node b) { if(a.bi==b.bi) return a.ai>b.ai; return a.bi<b.bi; } int Max(int a,int原创 2012-04-10 18:44:43 · 490 阅读 · 0 评论 -
zoj 2972
题目 http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=2972 #include #include #include using namespace std; int Min(int a,int b) { if(a>b) return b; return a; } int main() { map mi[2];原创 2012-04-11 16:36:53 · 432 阅读 · 0 评论 -
HDU 2546
#include//写的有点出格 #include using namespace std; int dp[1002],a[1002]; int Max(int a,int b) { if(a>b) return a; return b; } int main() { int n,i,j,vo,MAX,temp,tempp,b,k; while(scanf("原创 2012-05-18 08:53:03 · 796 阅读 · 0 评论 -
HDU 1789
#include #include using namespace std; struct N { int len; int work[1001]; }day[1001]; bool cmp(int a ,int b) { return a>b; } int main() { int t,n,i,num[1001],temp[1001],sum,j,M_day; scanf(原创 2012-07-03 10:39:12 · 1041 阅读 · 2 评论