Colorful Tree rk_no巨巨TQL /* Author : lifehappy */ #include <bits/stdc++.h> using namespace std; const int N = 1e5 + 10; int head[N], to[N << 1], nex[N << 1], cnt = 1; int son[N], dep[N], fa[N], sz[N], rk[N], id[N], top[N], tot; int n, m, value[N], ans[N]; void Add(int x, in...