摘要:
题目链接: https://www.acwing.com/problem/content/1272/ 题解: 线段树模板题,单点求和、区间查询都可 AC代码: #include <cstdio> #include <iostream> #include <algorithm> #include <c 阅读全文
posted @ 2020-02-16 22:03
Doubest
阅读(143)
评论(0)
推荐(0)
摘要:
题目链接: https://www.acwing.com/problem/content/description/1266/ 题解: 模板题,记query()、add()、lowbit()函数即可 AC代码: #include <iostream> #include <cstdio> #includ 阅读全文
posted @ 2020-02-16 09:26
Doubest
阅读(183)
评论(0)
推荐(0)

浙公网安备 33010602011771号