codeforces 620E. New Year Tree dfs序+线段树+bitset
摘要:
题目链接给一棵树, 每个节点有颜色, 两种操作, 一种是将一个节点的子树全都染色成c, 一种是查询一个节点的子树有多少个不同的颜色, c#include #include #include #include #include #include #include #include #include #... 阅读全文
posted @ 2016-01-22 00:02 yohaha 阅读(205) 评论(0) 推荐(0)
浙公网安备 33010602011771号