会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Lovaer
为了平凡地生活而拚尽全力,哪怕为此燃烧殆尽我的灵魂。
博客园
首页
新随笔
联系
管理
2020年9月15日
tarjian求LCA
摘要: 1 //tarjian离线求LCA 2 #include<cstdio> 3 #define N 420000 4 struct hehe{ 5 int next; 6 int to; 7 int lca; 8 }; 9 hehe edge[N];//树的链表 10 hehe qedge[N];//
阅读全文
posted @ 2020-09-15 09:50 Lovaer
阅读(108)
评论(0)
推荐(0)
编辑
公告