manabeai/ac-library-mbt/segtree does not have a README file
pub struct SegTree[S] { // private fields}
impl Debug for SegTree[S]
fn[S : @moonbitlang/core/debug.DebugDebug] to_repr(self : SegTree[S]) -> @moonbitlang/core/debug.ReprRepr
fn[S] SegTree::all_prod(self : SegTree[S]) -> S
fn[S] SegTree::from_array(values : Array[S], op~ : (S, S) -> S, e~ : () -> S) -> SegTree[S]
fn[S] SegTree::get(self : SegTree[S], p : Int) -> S
fn[S] SegTree::max_right(self : SegTree[S], l : Int, predicate : (S) -> Bool) -> Int
fn[S] SegTree::min_left(self : SegTree[S], r : Int, predicate : (S) -> Bool) -> Int
fn[S] SegTree::new(n : Int, op~ : (S, S) -> S, e~ : () -> S) -> SegTree[S]
fn[S] SegTree::prod(self : SegTree[S], l : Int, r : Int) -> S
fn[S] SegTree::set(self : SegTree[S], p : Int, value : S) -> Unit
Install
A complete MoonBit port of AtCoder Library v1.6
Powered by MoonBit
© 2026 mooncakes.io