01 2022 档案
摘要:一本通 树堆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<
阅读全文
摘要:一本通 队列part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1332 队列先进先出 点击查看代码 #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=1331 it's a very strange prob.I dont know why i cant pass the test in this website while i
阅读全文
摘要:一本通 分治part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1241 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i<int(r);i++) #def
阅读全文
摘要:一本通 BFS part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1329 一道基础的求连通块的题目 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i<i
阅读全文
摘要:一本通 dp part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1293 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i<int(r);i++) #de
阅读全文
摘要:贪心part 1 http://ybt.ssoier.cn:8088/problem_show.php?pid=1223 点击查看代码 #include<bits/stdc++.h> #define rep(i,l,r) for(int i=int(l);i<int(r);i++) #define
阅读全文