摘要: 并查集的基础题目--http://acm.hdu.edu.cn/showproblem.php?pid=1213; 并查集基础代码: void inis_set(int n) { // 对数组进行初始化 for(int i = 1;i <= n;i++) s[i] = i; } int find_s 阅读全文
posted @ 2021-04-11 22:05 长风青云 阅读(98) 评论(0) 推荐(0)