模板
IDrandom
菜菜菜
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
最大流模板(dinic)
//dinic #include<bits/stdc++.h> using namespace std; typedef long long LL; const int INF = 0x3f3f3f3f; const int maxm =120020; const int maxn =1210; struct Edge{ int u,v,w; int nxt; }e[m...原创 2018-08-09 22:09:45 · 338 阅读 · 0 评论 -
【模板】读入挂
普通读入挂 inline int read() { int x=0,f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();} ...原创 2018-08-15 18:18:42 · 296 阅读 · 0 评论 -
Splay 模板/学习(待更新
http://hihocoder.com/contest/hiho104 以hiho104为例 看着hiho里的说明,写了一个这个东西,先上一个好理解的模板 #include&lt;bits/stdc++.h&gt; #include&lt;unordered_set&gt; #include&lt;unordered_map&gt; using namespace std; typedef...原创 2018-09-07 17:17:39 · 211 阅读 · 0 评论
分享