摘要:
一本通 树堆part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1336 树的遍历 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i<int(r);i++) 阅读全文
摘要:
一本通 图论part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1346 并查集,初始化,路径压缩,合并 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i< 阅读全文