
树的直径
树的直径
Guuuuuu老师儿
当初的算法竞赛题目博客的留言评论就不回复了,时间太久已经忘干净了,抱歉~
展开
-
Cow Marathon POJ - 1985(树的直径模板题)
Cow Marathon POJ - 1985After hearing about the epidemic of obesity in the USA, Farmer John wants his cows to get more exercise, so he has committed to create a bovine marathon for his cows to run. T...原创 2018-09-11 11:40:57 · 317 阅读 · 0 评论 -
Caterpillar POJ - 3310(树的直径)
Caterpillar POJ - 3310An undirected graph is called a caterpillar if it is connected, has no cycles, and there is a path in the graph where every node is either on this path or a neighbor of a node ...原创 2018-09-11 17:58:13 · 300 阅读 · 0 评论