• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
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 阅读(154) 评论(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 阅读(94) 评论(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 阅读(118) 评论(0) 推荐(0)
 
 

公告


博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3