会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ws_zzy
一花盛开一世界 一生相思为一人
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
17
下一页
2018年4月5日
手工栈
摘要: OI竞赛中手工栈的书写
阅读全文
posted @ 2018-04-05 09:18 ws_zzy
阅读(251)
评论(0)
推荐(0)
2018年4月4日
Bitset
摘要: #include #include #include #include #include using namespace std; int main(){ bitsetA; bitsetB(0xfa2); bitsetC(string("100000")); cout<<A<<endl; cout<<B<<endl; cout<<C<...
阅读全文
posted @ 2018-04-04 11:21 ws_zzy
阅读(171)
评论(0)
推荐(0)
2018年3月30日
BZOJ 3332
摘要: 题解:给边赋上权值,然后求最大生成树,如果不符合那就无解 证明:留坑
阅读全文
posted @ 2018-03-30 22:32 ws_zzy
阅读(211)
评论(0)
推荐(0)
BZOJ 2744
摘要: #include<iostream>#include<cstdio>#include<cstring>#include<vector>#include<queue>using namespace std;const int maxn=4000;const int oo=1000000000;int
阅读全文
posted @ 2018-03-30 22:31 ws_zzy
阅读(143)
评论(0)
推荐(0)
2018年3月27日
BZOJ 5210 最大连通子块和
摘要: 题解: 树上动态DP
阅读全文
posted @ 2018-03-27 11:30 ws_zzy
阅读(168)
评论(0)
推荐(0)
2018年3月25日
BZOJ 4597 [Shoi2016]随机序列
摘要: 题解:
阅读全文
posted @ 2018-03-25 23:38 ws_zzy
阅读(144)
评论(0)
推荐(0)
BZOJ 2809 [Apio2012]dispatching
摘要: 题解: 可并大根对维护即可 注意long long
阅读全文
posted @ 2018-03-25 23:37 ws_zzy
阅读(124)
评论(0)
推荐(0)
BZOJ 3143: [Hnoi2013]游走
摘要: 题解: 高斯消元解期望方程 每条边算贡献 用边算不好算 算f(x)表示到x点的次数 f(x)=sigma(f(y))/size+1 对于1和n特判一下 然后n个方程n个未知数
阅读全文
posted @ 2018-03-25 23:35 ws_zzy
阅读(155)
评论(0)
推荐(0)
BZOJ 4755:[Jsoi2016]扭动的回文串
摘要: 题解: 先求每个串的最长回文串 然后两个串的一定是一个串的某一个最长回文串向两边扩展 用后缀数组求
阅读全文
posted @ 2018-03-25 23:31 ws_zzy
阅读(241)
评论(0)
推荐(0)
BZOJ 4853 [Jsoi2016]飞机调度
摘要: 题解: 我严重怀疑语文水平(自己的和出题人的) 把航线按照拓扑关系建立DAG 然后最小路径覆盖 为什么两条首尾相接航线之间不用维护????
阅读全文
posted @ 2018-03-25 23:28 ws_zzy
阅读(414)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
17
下一页
公告