摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 int n, k; 8 const int maxn = 50000 + 5; 9 int s[maxn]; 10 int fa[maxn]; 11 int ans = 0; 12 13 void init(){ 14 ... 阅读全文
posted @ 2018-07-29 22:02 ouyang_wsgwz 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 int par[1005]; 7 bool b[1005];//判断哪个电脑被修好了 8 struct 9 { 10 int x,y; 11 }a[1005]; 12 void init(int n) 13 { 14 ... 阅读全文
posted @ 2018-07-29 22:00 ouyang_wsgwz 阅读(204) 评论(0) 推荐(0) 编辑