Tree-DP
Chlerry
We're all just prisoners here, of our own device.
展开
-
[POJ3342]Party at Hali-Bula
Dear Contestant,I’m going to have a party at my villa at Hali-Bula to celebrate my retirement from BCM. I wish I could invite all my co-workers, but imagine how an employee can enjoy原创 2015-09-16 16:33:46 · 254 阅读 · 0 评论 -
[POJ1655]Balancing Act
Consider a tree T with N (1 <= N <= 20,000) nodes numbered 1…N. Deleting any node from the tree yields a forest: a collection of one or more trees. Define the balance of a node to be原创 2015-09-16 21:11:05 · 250 阅读 · 0 评论