会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
notnight
博客园
首页
新随笔
联系
管理
订阅
2019年3月9日
Codeforces 935E Fafa and Ancient Mathematics dp
摘要: Fafa and Ancient Mathematics 转换成树上问题dp一下。
阅读全文
posted @ 2019-03-09 17:57 NotNight
阅读(122)
评论(0)
推荐(0)
编辑
Codeforces 594D REQ 线段树
摘要: REQ 把询问离线, 我们从n 到 1遍历过去的时候, 把(1 - 1 / p)乘在最靠近当前位置的地方, 然后区间求乘积就好啦。
阅读全文
posted @ 2019-03-09 00:54 NotNight
阅读(148)
评论(0)
推荐(0)
编辑
Codeforces 387E George and Cards
摘要: George and Cards 我们找到每个要被删的数字左边和右边第一个比它小的没被删的数字的位置。然后从小到大枚举要被删的数, 求答案。
阅读全文
posted @ 2019-03-09 00:11 NotNight
阅读(153)
评论(0)
推荐(0)
编辑
公告