会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
aziint
这世界很好,值得为它奋斗。后半句我同意。
首页
新随笔
联系
管理
2018年6月11日
CodeForces - 833B The Bakery
摘要: Description 给一个长度为 $n(n\le35000)$ 的序列,值域是 $[1,n]$ ,将它分成 $k(k\le min(n,50))$ 段,求最大得分。定义每段的得分为这段的不同数个数。 Solution 令 $dp[i][j]$ 表示前 $i$ 个数分成 $j$ 段的最大得分
阅读全文
posted @ 2018-06-11 16:54 aziint
阅读(119)
评论(0)
推荐(0)
编辑
公告
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License
.