合并出问题了吧? ```c fa1[find1(x)] = y; ``` 我是这样写的 ```cpp int a=get(x,fa),b=get(y,fa);//查 if(a!=b){ fa[a]=b;//并 } ``` by ASunny @ 2022-08-03 23:27:47