The Lenna Story - www.lenna.org Imaging Experts Meet Lenna in Person Yes, it's true! Lenna attended the 50th Anniversary IS&T conference in Boston hel ...
分类:
其他好文 时间:
2016-04-23 14:43:34
阅读次数:
327
Anniversary party Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 6062 Accepted: 3490 Description There is going to be a party to celebrate ...
分类:
其他好文 时间:
2016-04-19 22:45:16
阅读次数:
380
题目链接: Anniversary party Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description There is going to be a pa ...
分类:
其他好文 时间:
2016-04-11 20:57:16
阅读次数:
192
题目:Anniversary party 题意:给出N各节点的快乐指数,以及父子关系,求最大快乐指数和(没人职员愿意跟直接上司一起玩); 思路:从底向上的树状DP; 第一种情况:第i个员工不参与,F[i][0] += max(F[k][1], F[k][0]);(k为i的儿子) 第二种情况:第i个员 ...
分类:
其他好文 时间:
2016-04-05 08:13:02
阅读次数:
172
题意: 给定一棵关系树,每个节点有个权值,子节点和父节点不能同时选,问最后能选的最大价值是多少? 思路: dp[i][1]表示选,dp[i][0]表示不选 则状态转移方程为: dp[i][1]+=dp[j][0]; dp[i][0]+=max(dp[j][1],dp[j][0]); AC代码:
分类:
其他好文 时间:
2016-03-20 15:52:58
阅读次数:
166
今天看了一下Brian Harry大叔的博客,才发现2016年3月17日,是Team Foundation Server的10岁生日。 Today marks the 10th anniversary of the day we shipped the first version of TFS –
分类:
Web程序 时间:
2016-03-19 14:27:10
阅读次数:
176
Anniversary party Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 5844 Accepted: 3354 Description There is going to be a party to celebrate
分类:
其他好文 时间:
2016-03-05 01:45:02
阅读次数:
231
树形DP入门题。感觉负数的那些节点一定是不要选的,本着这个原则写了一发...AC了。 #include<cstdio> #include<cstring> #include<cmath> #include<ctime> #include<vector> #include<algorithm> usi
分类:
其他好文 时间:
2016-02-04 13:25:31
阅读次数:
157
Problem DescriptionThere is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical str...
分类:
其他好文 时间:
2016-01-19 12:21:26
阅读次数:
158
题目在这里:http://acm.hdu.edu.cn/showproblem.php?pid=1520题解,这是我的备忘录,没有任何注释。 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 8 /* 9 dp[i...
分类:
其他好文 时间:
2016-01-18 20:31:54
阅读次数:
191