Description 题库链接 给你一张 \(n\) 点, \(m\) 条边的无向图,每次摧毁一个点,问你剩下几个联通块. \(1\leq n\leq 2m,1\leq m\leq 200000\) Solution 删点不好操作,我们考虑倒序,变为加点.加边时,只考虑没删除的点间的连边,并查集维护. 是一道喜闻乐见的大水题. Code //It is made by Awson on 2018.2.27 #include <bits/stdc++.h> #define LL long lo…