会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
PusHpoP
功不唐捐 殊途同归
博客园
首页
新随笔
联系
订阅
管理
2015年7月25日
最大子序列和问题之算法优化
摘要: ###算法一:穷举式地尝试所有的可能### int maxSubsequenceSum(const int a[], int n) { int i, j, k; int thisSum, maxSum = 0; for (i = 0; i maxSum) ...
阅读全文
posted @ 2015-07-25 12:19 llhthinker
阅读(692)
评论(0)
推荐(0)
编辑
公告
TOP