树形dp
偷吃了老鼠的土豆
戒骄戒躁,脚踏实地,坚持不懈,愈挫愈勇。
展开
-
***** 树形dp(1)poj--2342
题目: There is going to be a party to celebrate the 80-th Anniversary of the Ural State University. The University has a hierarchical structure of employees. It means that the supervisor relation forms...原创 2018-08-15 23:13:46 · 58 阅读 · 0 评论 -
Information Disturbing (树形dp)hdu3586
题目: In the battlefield , an effective way to defeat enemies is to break their communication system. The information department told you that there are n enemy soldiers and their network which have n...原创 2018-08-16 14:34:04 · 98 阅读 · 0 评论 -
poj 1463(树形dp)
题目: Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he has the following problem. He must defend a me...原创 2018-08-16 16:31:58 · 141 阅读 · 0 评论 -
****poj2378(树形dp)
题目: After Farmer John realized that Bessie had installed a "tree-shaped" network among his N (1 <= N <= 10,000) barns at an incredible cost, he sued Bessie to mitigate his losses. Bessie, feel...原创 2018-08-16 21:12:47 · 102 阅读 · 0 评论