会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
lzw4896s
博客园
首页
新随笔
联系
订阅
管理
2014年9月13日
LCA-倍增法(在线)
摘要: 原文:http://www.tuicool.com/articles/N7jQV321.DFS预处理出所有节点的深度和父节点inline void dfs(int u){ int i; for(i=head[u];i!=-1;i=next[i]) { if (!deep[to[i...
阅读全文
posted @ 2014-09-13 12:33 lzw4896s
阅读(268)
评论(1)
推荐(0)
编辑
公告