博客园 首页 私信博主 显示目录 隐藏目录 管理 动画
摘要: 题意:求树上两条路径有无祖先。 思路: 瞎搞$LCA$啊。。。 可惜我$LCA$打错了,我居然调了半小时...qwq c++ include using namespace std; const int maxn = 200010; define travel(i,x) for(int i = he 阅读全文
posted @ 2018-09-07 22:08 Allorkiya 阅读(117) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2018-09-07 14:09 Allorkiya 阅读(0) 评论(0) 推荐(0) 编辑