2019年9月7日

摘要: 题目链接: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)
摘要: 题目链接: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)

导航