Skip to content

Commit 3f31866

Browse files
authored
Fix return statement syntax in walk.hpp
1 parent 42d4c51 commit 3f31866

File tree

1 file changed

+1
-1
lines changed
  • library/data_structures_[l,r]/seg_tree_uncommon

1 file changed

+1
-1
lines changed

library/data_structures_[l,r]/seg_tree_uncommon/walk.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ int walk(int l, int r, const auto& f) {
1919
if (f(s[u >> x])) good=1,r = l + (1 << x) - 1;
2020
else l += 1 << x;
2121
}
22-
return good ? l ; -1;
22+
return good ? l : -1;
2323
// return l;
2424
}

0 commit comments

Comments
 (0)