会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Mr_Wolfram的高维空间
十年饮冰,难凉热血
博客园
首页
新随笔
联系
订阅
管理
2018年2月6日
POJ [P2631] Roads in the North
摘要: 树的直径 树的直径求法: 1. 任取一点u,找到树上距u最远的点s 2. 找到树上距s点最远的点t,s t的距离即为所求 cpp include include include include include include include using namespace std; int init
阅读全文
posted @ 2018-02-06 11:06 Mr_Wolfram
阅读(116)
评论(0)
推荐(0)
公告