xmlns:sys="clr-namespace:System;assembly=mscorlib" NOTE: System;与assembly中间不能有空格 否则报错, Error 1 The URI "clr-namespace:System; assembly=mscorlib" is not a valid namespace identifier. D:\Personal\WPF\WpfApplication1\WpfApplication1\Main…
链接:http://agc001.contest.atcoder.jp/tasks/agc001_c 题解(官方): We use the following well-known fact about trees.Let T be a tree, and let D be the diameter of the tree. • If D is even, there exists an vertex v of T such that for each vertex w inT, the dis…