随笔分类 -  图论 --- 树-3LCA

hdu 2586 How far away ? Lca的模板了、、
摘要:How far away ?Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2522Accepted Submission(s): 931Problem DescriptionThere are n houses in the village and some bidirectional roads connecting them. Every day peole always like to ask like this "How f 阅读全文

posted @ 2013-04-09 09:09 江财小子 阅读(226) 评论(0) 推荐(0)