跟标准答案差100啊 求debug

P3366 【模板】最小生成树

if(father[x] **=** x)return x;
by Niko @ 2018-02-03 14:06:48


if(father[x]=x)return x; 双等号
by tumu1t @ 2018-02-03 14:16:34


It must be '==' there
by PKPIC @ 2018-02-03 14:41:42


|