摘要:
本题是一个动态树的模板题、link-cut-tree的论文可以百度文库中找、Code:#include <iostream>#include <cstdio>#include <cstdlib>#include <algorithm>#include <cmath>#include <cstring>#include <vector>#include <set>#include <map>#include <queue> #define ps system("pau 阅读全文