会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
董晓算法
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
35
36
37
38
39
40
41
42
43
···
45
下一页
2022年9月2日
A01 高精度加法
摘要: A01 高精度算法 加法_哔哩哔哩_bilibili P1601 A+B Problem(高精) - 洛谷 // 高精度 O(n) #include<bits/stdc++.h> using namespace std; void add(string sa,string sb){ int la=s
阅读全文
posted @ 2022-09-02 23:02 董晓
阅读(1545)
评论(0)
推荐(1)
2022年8月31日
C14【模板】点分树 动态点分治
摘要: 视频链接:277 点分树 动态点分治_哔哩哔哩_bilibili Luogu P6329 【模板】点分树 | 震波 #include <algorithm> #include <cstdio> #include <cstring> using namespace std; const int N=1
阅读全文
posted @ 2022-08-31 16:57 董晓
阅读(569)
评论(0)
推荐(2)
2022年8月23日
C13【模板】树分治 点分治
摘要: 视频链接:276 树分治 点分治_哔哩哔哩_bilibili Luogu P3806 【模板】点分治1 #include<iostream> #include<algorithm> using namespace std; const int N=10005; const int INF=10000
阅读全文
posted @ 2022-08-23 14:22 董晓
阅读(1399)
评论(3)
推荐(5)
2022年8月17日
C12【模板】树套树 线段树套平衡树 P3380 二逼平衡树
摘要: 视频链接:272 树套树 线段树套平衡树_哔哩哔哩_bilibili Luogu P3380 【模板】二逼平衡树(树套树) // Splay 提醒:开启 O2 优化 #include <iostream> #include <algorithm> using namespace std; #defi
阅读全文
posted @ 2022-08-17 14:17 董晓
阅读(708)
评论(0)
推荐(0)
2022年8月13日
C11【模板】可持久化平衡树
摘要: 视频链接:269 可持久化平衡树_哔哩哔哩_bilibili Luogu P3835 【模板】可持久化平衡树 #include <iostream> using namespace std; const int N=500005; struct node{ int l,r; //左右儿子 int v
阅读全文
posted @ 2022-08-13 23:51 董晓
阅读(575)
评论(0)
推荐(2)
2022年8月11日
C10 可持久化数组
摘要: 视频链接:267 可持久化数组_哔哩哔哩_bilibili Luogu P3919【模板】可持久化线段树 1(可持久化数组) #include <iostream> using namespace std; #define N 1000005 #define lc(x) tr[x].l #defin
阅读全文
posted @ 2022-08-11 16:09 董晓
阅读(627)
评论(1)
推荐(4)
2022年8月8日
C09【模板】可持久化字典树(Trie)
摘要: 视频链接:C09 可持久化字典树(Trie)_哔哩哔哩_bilibili // 区间最大异或和 可持久化01Trie O(n*23) #include <iostream> #include <cstring> #include <algorithm> using namespace std; co
阅读全文
posted @ 2022-08-08 23:14 董晓
阅读(1678)
评论(0)
推荐(1)
2022年8月4日
C08【模板】可持久化线段树(主席树)
摘要: 视频链接:C08 可持久化线段树(主席树)_哔哩哔哩_bilibili Luogu P3834 【模板】可持久化线段树 2 // 主席树 O(nlognlogn) #include <iostream> #include <cstring> #include <algorithm> using na
阅读全文
posted @ 2022-08-04 22:32 董晓
阅读(2215)
评论(0)
推荐(10)
2022年7月31日
C07【模板】P3690 动态树(Link Cut Tree)
摘要: 视频链接:265【模板】P3690 动态树(Link Cut Tree)_哔哩哔哩_bilibili Luogu P3690 【模板】动态树(Link Cut Tree) #include <iostream> #include <cstring> #include <algorithm> usin
阅读全文
posted @ 2022-07-31 19:37 董晓
阅读(1202)
评论(0)
推荐(4)
2022年7月24日
C06【模板】FHQ Treap P3391 文艺平衡树
摘要: 视频链接:C06【模板】FHQ Treap P3391 文艺平衡树_哔哩哔哩_bilibili P3391 【模板】文艺平衡树 - 洛谷 #include <iostream> using namespace std; const int N=100010; struct node{ int l,r
阅读全文
posted @ 2022-07-24 23:31 董晓
阅读(764)
评论(0)
推荐(1)
上一页
1
···
35
36
37
38
39
40
41
42
43
···
45
下一页
公告