![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
大橘为重eleven
每天都因为自己太菜了而自闭
展开
-
Beijing Guards
题目描述 Beijing was once surrounded by four rings of city walls: the Forbidden City Wall, the Imperial City Wall, the Inner City Wall, and finally the Outer City Wall. Most of these walls were demolished...原创 2019-07-25 16:53:08 · 224 阅读 · 0 评论 -
Fence Repair
题目描述: Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ 20,000) planks of wood, each having some integer length Li (1...原创 2019-08-07 20:03:55 · 147 阅读 · 0 评论 -
Build Tree
题目描述: You need to construct a full n-ary tree(n叉树) with m layers.All the edges in this tree have a weight.But this weight cannot be chosen arbitrarily you can only choose from set S,the size of S is k...原创 2019-08-07 20:29:39 · 1042 阅读 · 2 评论