#10119. 「一本通 4.2 例 1」数列区间最大值

#10119. 「一本通 4.2 例 1」数列区间最大值(题目连接)c++ RMQ板子题spa #include <bits/stdc++.h> using namespace std; const int maxn = 1e5+500; int mp[maxn]; int mx[maxn][31]; int n,m; void ini(){ for(int i=0;i<log(n)/lo
相关文章
相关标签/搜索