会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liyeixn
博客园
首页
新随笔
联系
订阅
管理
2020年5月12日
HDU--1754 区间最值(树状数组做法)
摘要: 地址:http://acm.hdu.edu.cn/showproblem.php?pid=1754 解析:先说update操作。c[]表示所管辖的区间范围里的最大值。 void update(int id,int x) { while(id<=n) { c[id]=x; for(int i=1;i<
阅读全文
posted @ 2020-05-12 18:24 liyexin
阅读(471)
评论(0)
推荐(0)
公告