会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
陈健翔
2019年9月7日
19徐州网络赛E 线段树加离散化
摘要: 题目链接:https://nanti.jisuanke.com/t/41387 按wi的值建立权值线段树维护值为wi出现的最后位置,对于第i个人的答案,查询线段树[wi+m,max]区间的最大位置pos,令如果pos-i-1小于等于-1则是在i之后不存在大于等于wi+m的人,否则第i个人的答案即为p
阅读全文
posted @ 2019-09-07 21:44 che027
阅读(135)
评论(0)
推荐(0)
All-one Matrices
摘要: 题目链接:https://ac.nowcoder.com/acm/contest/888/A 题目描述 Gromah and LZR entered the great tomb, the first thing they see is a matrix of size n×mn\times mn×
阅读全文
posted @ 2019-09-07 14:52 che027
阅读(235)
评论(0)
推荐(0)
导航
博客园
首页
新随笔
联系
订阅
管理
公告