Book of Evil
摘要:Codeforces Round #196 (Div. 2)D:http://codeforces.com/contest/337/status/D题意:给你一个树,然后树中有一m个点,求到这m个点距离都小于=d的点的个数。题解:有一个重要的性质就是,树上距离任意一点到最远距离的点一定在树的直径的端...
阅读全文
posted @ 2014-08-20 20:14
posted @ 2014-08-20 20:14
posted @ 2014-08-16 09:27
posted @ 2014-08-16 09:03
posted @ 2014-07-17 10:56