The Suspects POJ - 1611
Union后最后处理跟为0即可 #include <stdio.h> #define MAX_LENGTH 30005 struct Union { int to; int rank; }; Union Unions[MAX_LENGTH]; void init_QucikUnion(int length){ for (int i ...