会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
loser--QAQ
博客园
首页
新随笔
联系
订阅
管理
2022年11月15日
P1168 中位数
摘要: 离散化,线段树 #include using namespace std; const int N = 1e5 + 7; int a[N], tree[N > 1; if(x > 1; if(tree[i = m) return query(m, i << 1, l, mid); else retu
阅读全文
posted @ 2022-11-15 14:50 feuerwerk
阅读(24)
评论(0)
推荐(0)