Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LazySegmentTree ¶
type LazySegmentTree struct {
// contains filtered or unexported fields
}
func NewLazySegmentTree ¶
func NewLazySegmentTree(n int) *LazySegmentTree
func (*LazySegmentTree) Apply ¶
func (tree *LazySegmentTree) Apply(l, r int, f int)
func (*LazySegmentTree) Prod ¶
func (tree *LazySegmentTree) Prod(l, r int) int
Click to show internal directories.
Click to hide internal directories.