摘要: You are given a tree (an undirected acyclic connected graph) with N nodes, and edges numbered 1, 2, 3...N-1. Each edge has an integer value assigned t 阅读全文
posted @ 2018-04-24 22:25 冥想选手 阅读(282) 评论(0) 推荐(0) 编辑
摘要: How far away ? Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 20971 Accepted Submission(s): 8245 阅读全文
posted @ 2018-04-24 19:55 冥想选手 阅读(215) 评论(0) 推荐(0) 编辑