树的直径
cugzyc
Coding && Reading.
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
树的直径
# include < iostream > # include < cstring > # include <queue > # include <vector > const int maxn =100020; using namespace std; int dis[ maxn ],ans; bool vis[ maxn ]; vector ...原创 2018-08-04 17:16:43 · 141 阅读 · 0 评论 -
POJ - 1985 G - Cow Marathon【树的直径】
After 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. The marathon route will in...原创 2018-08-05 09:33:23 · 217 阅读 · 0 评论
分享