摘要: 链接Miku 三分模板 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; int n; double l,r; double xi[20]; double xi 阅读全文
posted @ 2020-09-05 21:26 Simex 阅读(124) 评论(0) 推荐(0) 编辑
摘要: 链接Miku dfs就行了 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; int head[100001]; int p; int n; int m; in 阅读全文
posted @ 2020-09-05 20:57 Simex 阅读(91) 评论(0) 推荐(0) 编辑
摘要: 链接Miku 树刨理论 #include<iostream> #include<cstdio> #include<algorithm> #include<cstring> using namespace std; const int maxn=500001; int n,m,s; int fa[ma 阅读全文
posted @ 2020-09-05 20:03 Simex 阅读(107) 评论(0) 推荐(0) 编辑