摘要: Code:#include#include#includeusing namespace std;const int maxn = 200000 + 3;int head[maxnQ;inline void add_edge(int u,int v){ ... 阅读全文
posted @ 2018-09-26 19:52 EM-LGH 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Code: 阅读全文
posted @ 2018-09-26 12:34 EM-LGH 阅读(104) 评论(0) 推荐(0) 编辑
摘要: 题目过于智障,不用解释 #include<cstdio> #include<cstring> #include<cmath> #include<iostream> using namespace std; const int maxn=100000+233; typedef long long ll 阅读全文
posted @ 2018-09-26 12:31 EM-LGH 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 题目过于智障,不用解释 #include<cstdio> using namespace std; typedef long long ll; const int R=13; ll a[R]; ll n,ans; int m,cnt=0; ll gcd(ll a,ll b){return b==0? 阅读全文
posted @ 2018-09-26 12:29 EM-LGH 阅读(123) 评论(0) 推荐(0) 编辑