原创 並查集Hdu 1829 A Bug's Life

//非此即彼的思想,參考莊神ppt,YM莊神,自己太弱了。。。 #include <stdio.h> int father[2001]; int gender[2001]; int Find_set(int x) { if(father