12 2020 档案

摘要:一:结论 若 a ... 阅读全文
posted @ 2020-12-29 19:24 C2022lihan 阅读(62) 评论(0) 推荐(0) 编辑
摘要:ST表 void build () { for (int i = 1; i <= n; i++) f[i][0] = a[i]... 阅读全文
posted @ 2020-12-15 12:39 C2022lihan 阅读(35) 评论(0) 推荐(0) 编辑
摘要:明辨是非 造船 数据备份 括号 谜一样的牛 溜冰游戏 树网的核 圆桌骑士 和平委员会 矿场搭建 拦截导弹 Core树网的核 乒乓游戏... 阅读全文
posted @ 2020-12-14 13:21 C2022lihan 阅读(14) 评论(0) 推荐(0) 编辑
摘要:csdn 0.前言 由于笔者翻阅了较多 b ... 阅读全文
posted @ 2020-12-12 20:38 C2022lihan 阅读(53) 评论(0) 推荐(0) 编辑
摘要:1.压位(比较简单) const int up = 10; const int M = 1000; struct High { int c[up + 5]; void out () { int poi = up; while (poi >= 1 && c[poi] == 0) poi--; writ 阅读全文
posted @ 2020-12-08 20:58 C2022lihan 阅读(7) 评论(0) 推荐(0) 编辑
摘要:1.普通 template T Max (T x, T y) { return x > y ? x : y; }template ... 阅读全文
posted @ 2020-12-08 20:58 C2022lihan 阅读(74) 评论(0) 推荐(0) 编辑
摘要:1.树上倍增 #include <queue> #include <cstdio> using namespace std; const int MAXN = 1e5 + 5; const int MAXTEP = 45; int n, m; int depth[MAXN], f[MAXN][MAX 阅读全文
posted @ 2020-12-04 12:40 C2022lihan 阅读(6) 评论(0) 推荐(0) 编辑
摘要:1.树上倍增 #include #include using namespace std;const int MAXN = 1e5 ... 阅读全文
posted @ 2020-12-04 12:40 C2022lihan 阅读(44) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示