摘要: 题目内容 给出一个树,求出每个节点的子树中出现次数最多的颜色的编号和。 思路 那些年,关于板子题的那些事 代码 Dsu on tree: #include <bits/stdc++.h> #define int long long using namespace std; const int max 阅读全文
posted @ 2020-09-08 19:15 Midoria7 阅读(99) 评论(0) 推荐(0) 编辑