摘要: 并查集 class UnionFind{ private int[] parents; UnionFind(int size){ parents = new int[size]; for(int i=0;i < size ;i++) parents[i] = i; } public int find 阅读全文
posted @ 2020-11-06 14:50 BOTAK 阅读(52) 评论(0) 推荐(0) 编辑