HDU 3635 Dragon Balls(并查集 Home » 编程开发 » HDU 3635 Dragon Balls(并查集 题目大意:初始时,有n个龙珠,编号从1到n,分别对应的放在编号从1到n的城市中。现在又2种操作:T A B,表 … 阅读更多