摘要:
虚树第一题 对于询问多,但是询问涉及的总点数少的题型考虑建一棵虚树。 懒得讲解题目 dtoj过了,洛谷T了不管了 以下代码: #include<bits/stdc++.h> #define il inline #define _(d) while(d(isdigit(ch=getchar()))) 阅读全文
摘要:
https://www.cnblogs.com/dirge/p/5503289.html 关于无标号无/有根树计算 阅读全文