Skip to content

Commit 91102f7

Browse files
authored
Merge pull request #180 from lucifer1004/patch-1
Fix English version of lazysegtree doc
2 parents 211d72a + c70d3c5 commit 91102f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

document_en/lazysegtree.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ It returns `op(a[0], ..., a[n - 1])`, assuming the properties of the monoid. It
126126

127127
```cpp
128128
(1) int seg.max_right<g>(int l)
129-
(2 ) int seg.max_right<G>(int l, G g)
129+
(2💻) int seg.max_right<G>(int l, G g)
130130
```
131131

132132
- (1): It applies a binary search on the segment tree. The function `bool g(S x)` should be defined.
@@ -153,7 +153,7 @@ If `g` is monotone, this is the maximum `r` that satisfies `g(op(a[l], a[l + 1],
153153

154154
```cpp
155155
(1) int seg.min_left<g>(int r)
156-
(2 ) int seg.min_left<G>(int r, G g)
156+
(2💻) int seg.min_left<G>(int r, G g)
157157
```
158158

159159
- (1): It applies a binary search on the segment tree. The function `bool g(S x)` should be defined.

0 commit comments

Comments
 (0)