暑假更新了一些数据结构和字符串。
[TOC]
1 数据结构1.1 并查集int p[N]; //存储每个点的祖宗节点
// int size[N]; 维护size
// 返回x的祖宗节点
int find(int x)
{
2022-09-12