
pat甲级贪心
qq_41698081
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
pat甲级1067 Sort with Swap(0, i)(贪心)
1067 Sort with Swap(0, i) (25 分) Given any permutation of the numbers {0, 1, 2,..., N−1}, it is easy to sort them in increasing order. But what if Swap(0, *) is the ONLY operation that is allowed to ...原创 2019-07-08 23:45:53 · 184 阅读 · 0 评论 -
1070 Mooncake(贪心算法(求最高单价))
1070 Mooncake (25 分) Mooncake is a Chinese bakery product traditionally eaten during the Mid-Autumn Festival. Many types of fillings and crusts can be found in traditional mooncakes according to the ...原创 2019-07-07 10:50:03 · 247 阅读 · 0 评论