```cpp
else father[x]=find(x);
改成else father[x]=find(father[x]);
```
@[hxl23333](/user/272531)
by Toclhu @ 2020-04-22 08:58:12
好了 谢谢大佬@[Oahgt](/user/316443)
by 只狼 @ 2020-04-22 09:01:09
不用谢~
by Toclhu @ 2020-04-22 09:01:45