随笔分类 -  网络流

摘要:https://www.luogu.com.cn/blog/I-love-saber/solution-p1935 #include <iostream> #include <cstring> #include <algorithm> using namespace std; const int N 阅读全文
posted @ 2020-10-28 19:42 晴屿 编辑
摘要:https://www.luogu.com.cn/blog/CJL/solution-p4313 #include<iostream> #include<cstring> using namespace std; const int N=400020; #define int long long c 阅读全文
posted @ 2020-10-27 21:41 晴屿 编辑
摘要:#include<cstdio> #include<cstring> #include<algorithm> #include<queue> #include<iostream> using namespace std; const int maxn=200010; const double eps 阅读全文
posted @ 2020-06-25 18:15 晴屿 编辑
摘要:#include <iostream> #include <cstdio> #include <cstring> #define N 200005 using namespace std; #define int long long int n,m,S,T,tmp1,tmp2,tot; int id 阅读全文
posted @ 2020-06-25 11:46 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#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 晴屿 编辑
摘要:#include <iostream> #include <cstdio> #include <cstring> #include <cmath> #define N 500000 using namespace std; int n,m,S,T,tmp1,tmp2,tot; int idx,hea 阅读全文
posted @ 2020-06-20 17:06 晴屿 编辑
摘要:#include <iostream> #include <cstdio> #include <cstring> #define N 500000 using namespace std; int n,m,S,T,tmp1,tmp2,tot; int idx,head[N],cur[N],q[N], 阅读全文
posted @ 2020-06-20 16:28 晴屿 编辑
摘要:#include <iostream> #include <cstdio> #include <cstring> #define N 100010 using namespace std; int n,m,S,T,tmp1,tmp2,tot; int idx,head[N],cur[N],q[N], 阅读全文
posted @ 2020-06-20 11:47 晴屿 编辑
摘要:匈牙利: #include<iostream> #include<cstdio> #include<algorithm> #include<queue> #include<iomanip> #include<cstring> using namespace std; typedef long lon 阅读全文
posted @ 2020-06-20 10:09 晴屿 编辑

点击右上角即可分享
微信分享提示