![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
树形dp
CrossDolphin
青春看起来如此完美,没空闲去浪费时间。
展开
-
BestCoder Round #76 (div.2) A B C
链接:戳这里DZY Loves Balls Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)问题描述DZY喜欢玩球。他有n个球,装进一个大盒子里。每个球上面都写着一个整数。有一天他打算从盒子中挑两个球出来。他先均匀随机地从盒子中挑原创 2016-03-20 22:34:01 · 422 阅读 · 0 评论 -
hdu 1561 树形dp
链接:戳这里The more, The BetterTime Limit: 6000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Problem DescriptionACboy很喜欢玩一种战略游戏,在一个地图上,有N座城堡,每座城堡都有一定的宝物,在每次游戏中ACboy允许原创 2016-07-14 20:40:53 · 273 阅读 · 0 评论 -
Codeforces Round #362 (Div. 2) D 树形dp
链接:戳这里D. Puzzlestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBarney lives in country USC (United States of Charzeh). USC has原创 2016-07-15 16:22:30 · 1113 阅读 · 5 评论 -
bzoj 4027 树形dp
链接:戳这里4027: [HEOI2015]兔子与樱花Time Limit: 10 Sec Memory Limit: 256 MB[Submit][Status][Discuss]Description很久很久之前,森林里住着一群兔子。有一天,兔子们突然决定要去看樱花。兔子们所在森林里的樱花树很特殊。樱花树由n个树枝分叉点组成,编号从0到n-1,这n个分原创 2016-07-15 21:54:35 · 348 阅读 · 0 评论 -
Codeforces Round #263 (Div. 2) D 树形dp
链接:戳这里D. Appleman and Treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAppleman has a tree with n vertices. Some of the ver原创 2016-09-21 21:41:11 · 351 阅读 · 0 评论