会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
aziint
这世界很好,值得为它奋斗。后半句我同意。
首页
新随笔
联系
管理
2018年7月25日
CodeForces 631E Product Sum
摘要: Description 给一个长度为 $n$ 的序列,任意移动一个数,使得 $\sum a[i]\times i$ 最大。 $2\le n\le 2\times 10^5,\left|a[i]\right|\le 10^6$ Solution 考虑不移动时答案为 $ans$ ,进行一次移动后答案为
阅读全文
posted @ 2018-07-25 16:53 aziint
阅读(200)
评论(0)
推荐(0)
编辑
公告
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License
.