Skip to content

Commit ec42aee

Browse files
committed
add another example init
1 parent b86211b commit ec42aee

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

library/data_structures/seg_tree_inc.hpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
#pragma once
22
//! https://codeforces.com/blog/entry/118682
33
//! @code
4+
//! {
5+
//! tree_inc st(n, pii{}, [&](pii& l, pii& r) {
6+
//! return min(l, r);
7+
//! });
8+
//! }
49
//! tree_inc st(n, int{}, ranges::min);
510
//! rep(i, 0, n) st.update(i, a[i]);
611
//! @endcode

0 commit comments

Comments
 (0)