
DP-树形DP
文章平均质量分 89
conquerheaven
这个作者很懒,什么都没留下…
展开
-
hdu 4008(树形DP)
先放代码,有空再写方法。。#include #include using namespace std;const int maxn = 100210;struct edge{ int u , v , next; edge(int a = 0, int b = 0){ u = a, v = b; }}e[2*ma原创 2013-09-12 21:07:36 · 1431 阅读 · 1 评论 -
poj 1947 Rebuilding Roads(树形dp)
Rebuilding RoadsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 8816 Accepted: 3974DescriptionThe cows have reconstructed Farmer John's farm, with its N原创 2014-05-31 21:15:44 · 709 阅读 · 0 评论 -
poj 2486 Apple Tree(DP-树形DP)
Apple TreeTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 7114 Accepted: 2366DescriptionWshxzt is a lovely girl. She likes apple very much. One day HX t原创 2014-08-01 22:18:48 · 854 阅读 · 0 评论 -
hdu 4044 GeoDefense(DP-树形DP)
hdu 4044 GeoDefense(DP-树形DP)原创 2014-09-05 20:31:52 · 955 阅读 · 0 评论 -
hdu 2196 Computer(DP-树形DP)
ComputerTime Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3152 Accepted Submission(s): 1598Problem DescriptionA school bought t原创 2014-08-13 11:31:21 · 636 阅读 · 0 评论 -
hdu 4276 The Ghost Blows Light(DP-树形DP)
hdu 4276 The Ghost Blows Light(DP-树形DP)原创 2014-08-29 21:01:19 · 925 阅读 · 0 评论