摘要: 好抽象的树形DP。。。。。。。。。Apple TreeTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 6411Accepted: 2097DescriptionWshxzt is a lovely girl. She likes apple very much. One day HX takes her to an apple tr... 阅读全文
posted @ 2013-09-27 22:56 码代码的猿猿 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 树形DP。。。。在树上做DP。。。。不应该是猴子干的事吗? Anniversary partyTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3563 Accepted Submission(s): 1648Problem Descr... 阅读全文
posted @ 2013-09-27 07:04 码代码的猿猿 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 树形DP。。。。Tree of TreeTime Limit: 1 Second Memory Limit: 32768 KBYou're given a tree with weights of each node, you need to find the maximum subtree of specified size of this tree.Tree Definition A... 阅读全文
posted @ 2013-09-27 04:51 码代码的猿猿 阅读(138) 评论(0) 推荐(0) 编辑