摘要: 题目链接 题意:统计树上每个结点中恰好出现了k次的颜色数。 dsu on tree/线段树合并裸题。 启发式合并1:(748ms) 1 #include<bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int 阅读全文
posted @ 2019-05-01 22:17 jrltx 阅读(240) 评论(0) 推荐(0) 编辑