摘要: 就是把拓扑图变成变成一棵树然后高度压缩一下,就变成了灭绝树 #include<bits/stdc++.h> #define debug(x) cerr << #x <<" = " << x << endl using namespace std; const int N = 2e6 + 10; co 阅读全文
posted @ 2020-10-03 11:12 SegmentTree 阅读(13) 评论(0) 推荐(0) 编辑