摘要: 题意: 给定每个区间是不是连通块,还原这棵树。($n\leqslant 2000$) 题解: 我肯定是做不出来,也不理解是怎么想的。不如直接讲做法,然后证明正确性,也是对 wc 题解的补充。 先贴个代码: #include<bits/stdc++.h> using namespace std; co 阅读全文
posted @ 2022-08-27 01:43 syzf2222 阅读(31) 评论(0) 推荐(0) 编辑