摘要: ```//#include#include#include#include#include#include#include#define int long longusing namespace std;#define rep_1(i,m,n) for(int i=m;i='0'&&ch='0'&&ch pii;typedef unsigned long long ull;typedef pair... 阅读全文
posted @ 2020-04-12 17:51 晴屿 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 非常难受的是,我用链表写的,要么wa,要么tle,甚至还出现了超内存。。。 然后换成矩阵,开始还是wa了两次,然后换了别的快读,才过,难受。 阅读全文
posted @ 2020-04-12 17:49 晴屿 阅读(172) 评论(0) 推荐(0) 编辑
摘要: ``` #include #include #include #include #include #include using namespace std; #define ll long long const int N=1e5+5; const int M=1e5+5; const int INF=0x3f3f3f3f; int read() { int res=0,ch,flag=0; if 阅读全文
posted @ 2020-04-12 17:45 晴屿 阅读(138) 评论(0) 推荐(0) 编辑
摘要: ``` #include #define f first #define s second using namespace std; typedef long long ll; const int N=300005; typedef pair P; int n,tot,t,V; map mp; map,int> mp2; vector G[N]; int match[N]; bool used[N 阅读全文
posted @ 2020-04-12 17:38 晴屿 阅读(204) 评论(0) 推荐(0) 编辑