会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
某热爱东方的少年
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
下一页
2017年11月29日
无旋treap
摘要: #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<algorithm> #define P pair<int,int> #define ls(x) T[x]
阅读全文
posted @ 2017-11-29 16:37 秦こころ酱
阅读(204)
评论(0)
推荐(0)
2017年11月28日
NOIP2017D2T2宝藏(不知为啥95)
摘要: #include #include #include #include #include #include using namespace std; int f[13][8000],g[13][8000]; int mep[13][13]; int main() { int n,m; scanf("%d%d",&n,&m); ...
阅读全文
posted @ 2017-11-28 16:31 秦こころ酱
阅读(331)
评论(0)
推荐(0)
2017年11月14日
树剖模板
摘要: #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<algorithm> #define LL long long #define l(x) (x<<1) #
阅读全文
posted @ 2017-11-14 21:27 秦こころ酱
阅读(137)
评论(0)
推荐(0)
线段树区间加模板
摘要: #include<iostream> #include<cstdio> #include<cstdlib> #include<cstring> #include<cmath> #include<algorithm> #define LL long long #define l(x) (x<<1) #
阅读全文
posted @ 2017-11-14 20:21 秦こころ酱
阅读(112)
评论(0)
推荐(0)
早晚我要把它们都干掉!!!!!!!
摘要: 1.1 基本数据结构 1. 数组# 2. 链表,双向链表% 3. 队列,单调队列,双端队列# 4. 栈,单调栈# 1.2 中级数据结构 1. 堆# 2. 并查集与带权并查集# 3. hash 表# 自然溢出% 双hash% 1.3 高级数据结构 1. 树状数组# 2. 线段树#,线段树合并% 3.
阅读全文
posted @ 2017-11-14 19:26 秦こころ酱
阅读(205)
评论(0)
推荐(0)
2017年11月5日
主席树模板(区间第k小+可持久化数组+带回溯线段树)
摘要: #include<cmath> #include<cstdio> #include<cstdlib> #include<cstring> #include<iostream> #include<algorithm> #define MAXN 200010 using namespace std; i
阅读全文
posted @ 2017-11-05 23:09 秦こころ酱
阅读(169)
评论(0)
推荐(0)
2017年11月4日
模拟赛(11.4)
摘要: #include<iostream> #include<cstdio> #include<cstdlib> #include<cmath> #include<cstring> #include<algorithm> using namespace std; int main() { freopen(
阅读全文
posted @ 2017-11-04 13:35 秦こころ酱
阅读(123)
评论(0)
推荐(0)
2017年11月3日
Splay模板(bzoj 1588)
摘要: #include<cstdio> #include<iostream> #include<cstring> #include<cstdlib> #include<cmath> #include<algorithm> #define MAXN 100010 using namespace std; s
阅读全文
posted @ 2017-11-03 16:27 秦こころ酱
阅读(126)
评论(0)
推荐(0)
2017年11月2日
PDD----配对堆
摘要: //洛谷P3377,不会配对堆基本思路的请百度#include #include #include #include #include #include #include using namespace std; struct heap { int fa; vectorson; int val; }PDD[100010];//每个节点存父亲fa(好像没用),儿子son,权...
阅读全文
posted @ 2017-11-02 21:42 秦こころ酱
阅读(383)
评论(0)
推荐(0)
2017年10月31日
左偏树
摘要: #include using namespace std; struct node { int w, lc, rc, h; }t[M]; int merge(int A, int B) { if(!A) return B; if(!B) return A; if(t[A].w < t[B].w) swap(A, B); t[A...
阅读全文
posted @ 2017-10-31 16:36 秦こころ酱
阅读(136)
评论(0)
推荐(0)
上一页
1
2
3
下一页
公告