摘要: Description You have N integers, A1, A2, ... , AN. You need to deal with two kinds of operations. One type of operation is to add some given number to 阅读全文
posted @ 2020-05-06 21:17 liyexin 阅读(126) 评论(0) 推荐(0)
摘要: 本地搬运~ 关于树状数组的学习,强烈推荐这个视频:https://www.bilibili.com/video/av26371798?from=search&seid=2141442207537065040 1:树状数组:查询和修改复杂度都为log(n)的数据结构,本身可用于单点修改区间查询,加入辅 阅读全文
posted @ 2020-05-06 20:54 liyexin 阅读(165) 评论(0) 推荐(0)