BZOJ 1509: [NOI2003]逃学的小孩
摘要:
题目:http://www.lydsy.com/JudgeOnline/problem.php?id=1509直接求出树的直径,枚举每个点更新一遍答案。#include#include#include#include#define maxn 200500#define rep(i,l,r) for ... 阅读全文
posted @ 2016-01-07 19:37 ctlchild 阅读(240) 评论(0) 推荐(0) 编辑