dp
杋楼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sdut 4401 递减序列 (dp)
Problem Description 现在给你n个不同的数,a1,a2,a3, ..... ,an。求长度为k的不同递减序列的个数,既包含连续也包含不连续的序列。 例如:给你n=3,k=2,原始序列为 3 ,1,2 。长度为2的递减序列为3,1和3,2; 一共有两组所以答案为2. Input 第一行输入n,k(1<=n<=20000, 2=<k<=10)...转载 2019-03-01 18:56:42 · 273 阅读 · 0 评论 -
Gym-101502J Boxes Game (dp)
Ibraheem and Husam are playing a game with group of boxes, lined next to each other on a straight line, such that each box contains a card with some value written on it. Ibraheem and Husam already kn...转载 2019-03-04 20:48:26 · 271 阅读 · 0 评论
分享