摘要: #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 晴屿 阅读(195) 评论(0) 推荐(0)
摘要: #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 晴屿 阅读(131) 评论(0) 推荐(0)
摘要: #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 晴屿 阅读(199) 评论(0) 推荐(0)
摘要: 匈牙利: #include<iostream> #include<cstdio> #include<algorithm> #include<queue> #include<iomanip> #include<cstring> using namespace std; typedef long lon 阅读全文
posted @ 2020-06-20 10:09 晴屿 阅读(199) 评论(0) 推荐(0)