![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
POJ
faojie
...
展开
-
POJ P1741 Tree
POJ P1741 Tree题目TreeTime Limit: 1000MS Memory Limit: 30000KDescriptionGive a tree with n vertices,each edge has a length(positive integer less than 1001). Define dist(u,v)=The min distance betwe原创 2017-07-25 11:27:15 · 298 阅读 · 0 评论 -
POJ P1160 Post Office
POJ P1160 Post Office题目Description There is a straight highway with villages alongside the highway. The highway is represented as an integer axis, and the position of each village is identified with a原创 2017-10-25 18:45:59 · 307 阅读 · 0 评论 -
POJ P1837 Balance
POJ P1837 Balance题目DescriptionGigel has a strange “balance” and he wants to poise it. Actually, the device is different from any other ordinary balance. It orders two arms of negligible weight and ea原创 2017-10-25 19:28:35 · 294 阅读 · 0 评论 -
POJ P3107 Godfather
POJ P3107 Godfather题目DescriptionLast years Chicago was full of gangster fights and strange murders. The chief of the police got really tired of all these crimes, and decided to arrest the ma原创 2018-01-14 19:01:13 · 223 阅读 · 0 评论 -
POJ P1655 Balancing Act
DescriptionConsider a tree T with N (1 For example, consider the tree: Deleting node 4 yields two trees whose member nodes are {5} and {1,2,3,6,7}. The larger of these two trees has five nodes, t原创 2018-01-14 19:59:16 · 163 阅读 · 0 评论