会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Chrety
谁终将声震人间,必长久深自缄默谁终将点燃闪电,必长久如云漂泊
博客园
首页
新随笔
联系
订阅
管理
2019年11月3日
P5124 Teamwork(DP)
摘要: 题目: "P5124 [USACO18DEC]Teamwork" 解析: 动态规划,设$f[i]$表示到第$i$位的最大值,我们枚举i之前的j个位置$(j using namespace std; const int N = 1e6 + 10; int n, m, num; int a[N], f[
阅读全文
posted @ 2019-11-03 09:28 Chrety
阅读(244)
评论(0)
推荐(0)
编辑
公告