![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
贪心
wangfy_
这个作者很懒,什么都没留下…
展开
-
PATA 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 region...原创 2018-04-03 18:22:19 · 148 阅读 · 0 评论 -
PATA 1037
Magic Coupon (25) The magic shop in Mars is offering some magic coupons. Each coupon has an integer N printed on it, meaning that when you use this coupon with a product, you may get N times the va...原创 2018-04-03 18:22:24 · 174 阅读 · 0 评论 -
PATA 1067
Sort with Swap(0,*) (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 use? ...原创 2018-04-03 18:22:28 · 190 阅读 · 0 评论