会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
。小姜
博客园
首页
新随笔
联系
订阅
管理
2019年10月3日
Balanced Lineup——区间最大值、区间最小值
摘要: 题目链接 题意: 给定n个数,q次询问,查询当前区间最大值与最小值的差值 题解: 线段树模板题 区间查询最大值、最小值 代码: #include<iostream> #include<stdio.h> #include<math.h> #include<algorithm> #include<vec
阅读全文
posted @ 2019-10-03 15:01 。小姜
阅读(249)
评论(0)
推荐(0)
编辑
公告