与树有关的问题
文章平均质量分 87
cq_phqg
心中的坚持与不懈的努力,梦想就在前方!
展开
-
Codeforces Round #266 (Div. 2)E(判断父子关系+离线)
E. Information Graphtime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputThere are n employees working in compan原创 2014-09-15 22:32:58 · 1097 阅读 · 0 评论 -
2014牡丹江区域赛B(树的直径)ZOJ3820
Building Fire StationsTime Limit: 5 Seconds Memory Limit: 131072 KB Special JudgeMarjar University is a beautiful and peaceful place. There are N buildings and N - 1 bidirectional ro原创 2014-10-13 01:10:31 · 1105 阅读 · 4 评论