会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
晴屿
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
63
下一页
2020年6月24日
luogu P4542 [ZJOI2011]营救皮卡丘 网络流 拆点
摘要: #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; const int maxn=1e6+10; const int inf=0x
阅读全文
posted @ 2020-06-24 11:17 晴屿
阅读(136)
评论(0)
推荐(0)
2020年6月23日
luogu P1251 餐巾计划问题 最小费用最大流
摘要: #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; const int maxn=200010; #define int long
阅读全文
posted @ 2020-06-23 13:55 晴屿
阅读(128)
评论(0)
推荐(0)
2020年6月22日
luogu P4013 数字梯形问题 网络流24 最大费用最大流
摘要: #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; const int maxn=100010; bool vis[maxn];
阅读全文
posted @ 2020-06-22 22:26 晴屿
阅读(142)
评论(0)
推荐(0)
luogu P3381 【模板】最小费用最大流 费用流模板
摘要: #include<cstdio> #include<cstring> #include<algorithm> #include<queue> using namespace std; const int maxn=100010; bool vis[maxn]; int n,m,s,t,x,y,z,f
阅读全文
posted @ 2020-06-22 18:52 晴屿
阅读(171)
评论(0)
推荐(0)
luogu [SDOI2009]晨跑 费用流模板题
摘要: #include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; const int maxn=100010; bool vis[maxn];
阅读全文
posted @ 2020-06-22 18:50 晴屿
阅读(151)
评论(0)
推荐(0)
luogu P4001 [ICPC-Beijing 2006]狼抓兔子 网络流
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 6000666 using namespace std; const int inf=(1 << 26); int n,m,S,T,
阅读全文
posted @ 2020-06-22 17:40 晴屿
阅读(248)
评论(0)
推荐(0)
luogu P2472 [SCOI2007]蜥蜴 网络流 拆点
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 2000005 #define p(a,b) (a-1)*m+b #define q(a,b) p(a,b)+n*m using n
阅读全文
posted @ 2020-06-22 17:06 晴屿
阅读(168)
评论(0)
推荐(0)
2020年6月21日
luogu P2762 太空飞行计划问题 网络流24
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 2000005 using namespace std; const int inf=(1 << 28); int n,m,S,T,
阅读全文
posted @ 2020-06-21 22:34 晴屿
阅读(177)
评论(0)
推荐(0)
luogu P2774 方格取数问题 网络流24 最小割
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 2000005 using namespace std; const int inf=1000000007; int n,m,S,T
阅读全文
posted @ 2020-06-21 18:16 晴屿
阅读(166)
评论(0)
推荐(0)
luogu P2766 最长不下降子序列问题 网络流24
摘要: #include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 2000005 using namespace std; const int inf=1000000007; int n,m,S,T
阅读全文
posted @ 2020-06-21 17:55 晴屿
阅读(195)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
63
下一页
公告