摘要: G. New Roads time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There are n cities in Berla 阅读全文
posted @ 2018-03-06 19:11 绍兴土匪 阅读(280) 评论(0) 推荐(0)
摘要: 题目描述 树可以用来表示物种之间的进化关系。一棵“进化树”是一个带边权的树,其叶节点表示一个物种,两个叶节点之间的距离表示两个物种的差异。现在,一个重要的问题是,根据物种之间的距离,重构相应的“进化树”。 令N={1..n},用一个N上的矩阵M来定义树T。其中,矩阵M满足:对于任意的i,j,k,有M 阅读全文
posted @ 2018-03-06 17:56 绍兴土匪 阅读(615) 评论(0) 推荐(0)
摘要: E. A and B and Lecture Rooms time limit per test2 seconds memory limit per test256 megabytes inputstandard input outputstandard output A and B are pre 阅读全文
posted @ 2018-03-06 15:18 绍兴土匪 阅读(266) 评论(0) 推荐(0)