该文被密码保护。 阅读全文
posted @ 2017-08-14 16:31 Vincent_hwh 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 求树上两点的距离 裸LCA 用了倍增 1 #include<cstdio> 2 #include<cstring> 3 #include<cmath> 4 #include<algorithm> 5 using namespace std; 6 const int maxn=1233; 7 int 阅读全文
posted @ 2017-08-14 16:14 Vincent_hwh 阅读(101) 评论(0) 推荐(0) 编辑