会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wspl98765
博客园
|
首页
|
新随笔
|
新文章
|
联系
|
订阅
|
管理
2017年2月8日
乌龟棋
摘要: 朴素搜索 30分 tle#include#includeusing namespace std;int n,m;int q;int dp[99999];int a[999999];int f[1999];int max1=-9999999;void dfs(int x,int a...
阅读全文
posted @ 2017-02-08 16:44 wspl98765
阅读(151)
评论(0)
推荐(0)
编辑
能量项链
摘要: #include#includeusing namespace std;int n;int f[1999][1999];int a[9999];int ans;int max1=-999999999;int main(){ scanf("%d",&n); for(int...
阅读全文
posted @ 2017-02-08 16:29 wspl98765
阅读(91)
评论(0)
推荐(0)
编辑
金明的预算方案(组合背包)
摘要: 组合背包#includeusing namespace std;int v[9999];int w[9999];int k[9999];int f[99999];int n,m;int t=0;int s[9999][10];int main(){ scanf("%d%d",...
阅读全文
posted @ 2017-02-08 11:36 wspl98765
阅读(116)
评论(0)
推荐(0)
编辑
公告