
动态规划
文章平均质量分 57
muyu__
这个作者很懒,什么都没留下…
展开
-
HDU 5532 Almost Sorted Array(最长不上升||不下降子序列)
Problem DescriptionWe are all familiar with sorting algorithms: quick sort, merge sort, heap sort, insertion sort, selection sort, bubble sort, etc. But sometimes it is an overkill to use these algor...原创 2018-12-01 22:02:07 · 183 阅读 · 0 评论 -
POJ 3254 Corn Fields(状压DP)
DescriptionFarmer John has purchased a lush new rectangular pasture composed of M by N (1 ≤ M ≤ 12; 1 ≤ N ≤ 12) square parcels. He wants to grow some yummy corn for the cows on a number of squares. R...原创 2019-05-22 20:43:23 · 194 阅读 · 0 评论