会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
指尖泛出的繁华
博客园
首页
新随笔
联系
订阅
管理
2016年5月6日
挑战程序设计竞赛 dp
摘要: 背包问题: 首先我们考虑暴力法:每种情况试一下看看最小。这样的每层递归要分两次,为O(2^n) 1 #include <iostream> 2 #include <cstdio> 3 #include <algorithm> 4 using namespace std; 5 #define maxn
阅读全文
posted @ 2016-05-06 14:30 指尖泛出的繁华
阅读(305)
评论(0)
推荐(0)
公告