摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 using namespace std; 6 int n,m,map[101][11],dist[1025][11],has 阅读全文
posted @ 2016-06-29 15:53 oyzx~ 阅读(463) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 using namespace std; 6 #define maxn 100005 7 #define maxm 2000 阅读全文
posted @ 2016-06-29 15:41 oyzx~ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 #include <cstring> 5 using namespace std; 6 #define maxn 1000005 7 int n,m,ans,fa[m 阅读全文
posted @ 2016-06-26 11:45 oyzx~ 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 #include <queue> 6 using namespace std; 7 int n,a; 8 typedef l 阅读全文
posted @ 2016-06-25 16:07 oyzx~ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/acSzz/archive/2012/11/18/2775923.html 当我真正地理解了容斥原理! 阅读全文
posted @ 2016-06-24 12:21 oyzx~ 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 #define maxn 100005 阅读全文
posted @ 2016-06-23 09:44 oyzx~ 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 #define maxn 100005 阅读全文
posted @ 2016-06-22 15:59 oyzx~ 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <algorithm> 5 #include <cmath> 6 using namespace std; 7 #define maxn 100005 阅读全文
posted @ 2016-06-20 22:00 oyzx~ 阅读(594) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 #define PI pair<int, 阅读全文
posted @ 2016-06-20 21:37 oyzx~ 阅读(436) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 #include <cstring> 4 #include <cmath> 5 #include <algorithm> 6 using namespace std; 7 #define maxn 50005 8 阅读全文
posted @ 2016-06-11 17:01 oyzx~ 阅读(169) 评论(0) 推荐(0) 编辑