一Wa哇一天
一Wa哇一天
全部文章
树的直径
ACM板子(1)
CF(3)
dp(1)
gcd(1)
HDU(10)
HPU第二次积分赛(1)
KMP(1)
Poj(2)
二分图(1)
差分数组(1)
序列自动机(1)
思维(4)
感想(1)
拓扑排序(2)
数据结构作业(2)
未归档(15)
矩阵快速幂(1)
贪心(3)
题解(10)
归档
标签
去牛客网
登录
/
注册
一Wa哇一天的博客
全部文章
/ 树的直径
(共1篇)
Farthest Nodes in a Tree
Farthest Nodes in a Tree Given a tree (a connected graph with no cycles), you have to find the farthest nodes in the tree. The edges of the tree a...
2019-12-23
0
688