why0210
why0210
全部文章
分类
题解(1)
归档
标签
去牛客网
登录
/
注册
why0210的博客
全部文章
(共1篇)
题解 | #小红的数组操作#不会线段树只能分块了
MI[i]预处理块i的最小值,最小值用multiset维护,复杂度q*n^(1/2) #include<bits/stdc++.h> using namespace std; using ll=long long; const int N=1e5+9; const int inf=2...
2024-09-23
1
96