首页 > 祖孙询问
头像 minux_sufe
发表于 2020-06-30 10:02:07
#include <bits/stdc++.h> using namespace std; const int N=40005; const int M=2*N; int head[N], depth[N], fa[N][16]; // 2^16-1=65535>40000 可 展开全文

等你来战

查看全部