摘要: Codeforces Round #277 (Div. 2) D. Valid Sets链接:http://codeforces.com/contest/486/problem/D解题思路:1.首先,考虑没有树的节点value情况,那就简化成了求一颗树的所有子树,用dp很容易就可以得到。 ... 阅读全文
posted @ 2014-11-22 15:40 sunjieee 阅读(205) 评论(0) 推荐(0)