摘要: 、 阅读全文
posted @ 2016-09-15 18:56 ACforever 阅读(304) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 1000000000 #define fi first #define... 阅读全文
posted @ 2016-09-15 18:45 ACforever 阅读(427) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int maxn = 2050; int n,m,ans; char s[maxn][maxn]; bool ok; bool vis[maxn]; int main(){ freopen("evensgn.in","r",std... 阅读全文
posted @ 2016-09-15 18:41 ACforever 阅读(697) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include #include #include #include #include #define INF 100000000 #define fi first #define se second #define deb... 阅读全文
posted @ 2016-09-15 18:35 ACforever 阅读(465) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int maxn = 100005; struct edge{ int to; int nxt; }; int n,g[maxn],dep[maxn],dpd[maxn],dpv[maxn]; int head[maxn],cnt;... 阅读全文
posted @ 2016-09-15 18:19 ACforever 阅读(370) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int maxn = 205; struct chs{ int y; int x; }; chs orz[3][maxn*maxn]; int n,vis[maxn][maxn],cnt_op,cnt_no,cnt_o... 阅读全文
posted @ 2016-09-15 18:16 ACforever 阅读(302) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include using namespace std; const int maxn = 100005; int n,m,cnt,d[maxn],h[maxn]; int main(){ freopen("note.in","r",stdin); freopen("note.out... 阅读全文
posted @ 2016-09-15 18:12 ACforever 阅读(143) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #define ll long long #define mkp make_pair using namespace std; const int MaxN = 255 * 255, MaxM = MaxN * 255, inf = 1000000000; int... 阅读全文
posted @ 2016-09-15 17:46 ACforever 阅读(192) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #define ll long long using namespace std; const int maxn = 1005,maxt = 3005,maxint = 987654321; struct query{ ll a; ll b; ... 阅读全文
posted @ 2016-09-15 17:39 ACforever 阅读(193) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; const int maxn = 100005; int T,n,a[maxn],cnt,ans; int main(){ freopen("book.in","r",stdin); freopen("book.out","w",std... 阅读全文
posted @ 2016-09-15 17:34 ACforever 阅读(202) 评论(0) 推荐(0) 编辑