还是来致敬一下那过往吧 题目分析 先丢代码 #include<bits/stdc++.h> ; ; ; struct node { int top,son,fa,tot; }a[maxn]; struct point { int u,v; point(, ):u(a),v(b) {} }; struct tree { int ls,rs,cov,val; }f[maxNode]; int n,m,tot; long long ans,det; int chain[maxn],chTot,rt[…