上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页
摘要: xx 阅读全文
posted @ 2019-06-07 19:44 周栎 阅读(81) 评论(0) 推荐(0) 编辑
摘要: $A$ $B$水题 $C$贪心 $D$ 跑一遍$dj$ $E$ 阅读全文
posted @ 2019-06-02 14:19 周栎 阅读(103) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; const int N=6e5+777; char s[N]; int p[N]; int chur[N][30]; int n,tot; void dfs(int l,int num){ if(l==strl 阅读全文
posted @ 2019-06-01 23:22 周栎 阅读(115) 评论(0) 推荐(0) 编辑
摘要: xx 阅读全文
posted @ 2019-05-31 21:41 周栎 阅读(82) 评论(0) 推荐(0) 编辑
摘要: xx $t3$ $point$ $to$ $point$https://blog.csdn.net/Eric1561759334/article/details/84306485 阅读全文
posted @ 2019-05-26 23:05 周栎 阅读(73) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/hchhch233/p/10356186.html 阅读全文
posted @ 2019-05-25 20:16 周栎 阅读(89) 评论(0) 推荐(0) 编辑
摘要: xi 1 #include<bits/stdc++.h> 2 using namespace std; 3 const int N=1e5+999; 4 int fa[N][24]; 5 vector<int> v[N]; 6 int n; 7 void ad(int x,int y){ 8 v[x 阅读全文
posted @ 2019-05-18 17:01 周栎 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 分治 #include<bits/stdc++.h> using namespace std; const int N=1e6; #define ll long long long long tmin[N],tmax[N],h[N],ans; void mk(int o,int l,int r){ 阅读全文
posted @ 2019-05-17 20:40 周栎 阅读(138) 评论(0) 推荐(0) 编辑
摘要: 注意事项 如果状态的0、1表示的是地点在c还是d的话会有不少问题,因为压根就不能体现出申请的时候的成功与失败结果,但是对于m 阅读全文
posted @ 2019-05-12 16:09 周栎 阅读(115) 评论(0) 推荐(0) 编辑
摘要: 对于链: $f[i]$为前$i$点的方案数 \(f[i]=\sum_{k=1}^{i-1}f[k]\) \(f[i+1]=\sum_{k=1}^{i}f[k]\)=>\(f[i+1]=2*f[i]\) 阅读全文
posted @ 2019-02-25 21:38 周栎 阅读(91) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8 9 10 11 12 13 下一页