We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6166a55 commit 162f7b2Copy full SHA for 162f7b2
1 file changed
library/data_structures_[l,r)/seg_tree_uncommon/max_right.hpp
@@ -1,4 +1,4 @@
1
-void max_right(int l, int r, const auto& f) {
+void max_right(int l, int r, auto f) {
2
for (T x = unit; l < r;) {
3
int u = l + n, v = __lg(min(u & -u, r - l)),
4
m = l + (1 << v);
0 commit comments