![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
编程题
文章平均质量分 74
Scutware
这个作者很懒,什么都没留下…
展开
-
ZOJ Problem Set - 2348
原题:Hire and FireTime Limit: 2 Seconds Memory Limit: 65536 KBIn this problem, you are asked to keep track of the hierarchical structure of an organization's changing staff. As the fi原创 2013-05-08 18:05:56 · 974 阅读 · 1 评论 -
求最长非升子序列长度
求最长非升子序列长度,主要使用dfs(递归实现)以及dp两种方法。源码如下:#include using namespace std;//overrall variableint * numbers;int * dp;int nums;int max_length_dfs;int max_length_dp;//dfs-recursively implemented原创 2013-06-08 15:59:37 · 1072 阅读 · 0 评论