算法之並查集 C語言實現3

頭文件 UnionFind3.h #ifndef UNIONFIND3_H_INCLUDED #define UNIONFIND3_H_INCLUDED #include "stdlib.h" #include "ASSERT.h" typedef struct{ int* parent; int* rank;//rank[i]表示以i爲根的集合中樹的層數 int coun
相關文章
相關標籤/搜索