题解列表

筛选

并查集思想

```cpp#include#include#include#includeusingnamespacestd;typedeflonglongLL;namespaceIO{inlineLLread(){LLo=0,f=1;charc=getchar();while(c>'9'||c='0'&&c