We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32d7f7b commit fb67aa7Copy full SHA for fb67aa7
library/data_structures_[l,r]/seg_tree_uncommon/walk.hpp
@@ -1,4 +1,4 @@
1
-T walk(int l, int r, const auto& f) {
+int walk(int l, int r, const auto& f) {
2
for (l += n, r += n; l <= r;)
3
if (int u = nxt(l, r); f(s[u])) {
4
while (u < n)
0 commit comments