摘要: 树的重心 #include<iostream> #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int N=50010;//常量 struct use{ int st,en;//st为 阅读全文
posted @ 2022-06-11 16:39 李墨韵 阅读(25) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<cstdlib>//c语言中的系统库 #include<cstring> using namespace std; void print(int a[]){ if(a[0]<=0){ cout<<0<<endl; return; } for(i 阅读全文
posted @ 2022-06-11 16:31 李墨韵 阅读(257) 评论(0) 推荐(0) 编辑