摘要: P2668 斗地主 统计单牌和对牌的数量 然后 凑顺子,能凑就凑 还有四带balabala和三带balabala 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,t,s[15],ans,a,b; 4 5 inline void rea 阅读全文
posted @ 2017-09-09 21:22 Alex丶Baker 阅读(111) 评论(0) 推荐(0)
摘要: P2853 [USACO06DEC]牛的野餐Cow Picnic 1 #include<bits/stdc++.h> 2 using namespace std; 3 int n,m,k,p[10000],can[10000]; 4 int w[1000+15][1000+15]; 5 bool v 阅读全文
posted @ 2017-09-09 19:15 Alex丶Baker 阅读(113) 评论(0) 推荐(0)
摘要: P2194 HXY烧情侣 裸tarjan 1 #include<algorithm> 2 #include<iostream> 3 #include<cstring> 4 #include<cstdio> 5 #include<cmath> 6 #include<queue> 7 using nam 阅读全文
posted @ 2017-09-09 16:20 Alex丶Baker 阅读(173) 评论(0) 推荐(0)