
贪心
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 · 184 阅读 · 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 · 215 阅读 · 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 · 221 阅读 · 0 评论