摘要: "ref" cpp include include using namespace std; int n, m, a[100005], opt, uu, vv, fa[100005], ch[100005][2], dis[100005]; int myfind(int x){ while(fa[x 阅读全文
posted @ 2018-05-08 19:51 poorpool 阅读(143) 评论(0) 推荐(0) 编辑
摘要: "ref" cpp include include include include include using namespace std; int n; char su[2005], sv[2005]; vector vec; void shift(int x){ if(x==0) return 阅读全文
posted @ 2018-05-08 18:44 poorpool 阅读(490) 评论(0) 推荐(0) 编辑
摘要: "ref" 阅读全文
posted @ 2018-05-08 10:36 poorpool 阅读(281) 评论(0) 推荐(0) 编辑
摘要: "ref" cpp include include include include using namespace std; typedef long long ll; int n, m, k, uu, vv, hea[105], cnt, tot[105]; ll b[105][1005], s[ 阅读全文
posted @ 2018-05-08 09:05 poorpool 阅读(124) 评论(0) 推荐(0) 编辑