会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Neworld1111
By hcf
首页
新随笔
管理
随笔分类 -
树的重心
树的重心模板
摘要:树的重心 cpp include const int N=1000010; const int inf=0x7f7f7f7f; using namespace std; int f[N],size[N],n,head[N],tot; int rt,sum; struct Edge{int u,v,n
阅读全文
posted @
2018-02-23 13:22
Neworld1111
阅读(113)
评论(0)
推荐(0)
公告