lazysegmenttree

package
v0.0.0-...-6aef9c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 1 Imported by: 0

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) Init

func (tree *LazySegmentTree) Init(e, inf int, op func(x, y int) int, mapping func(x, y int) int, composition func(x, y int) int)

func (*LazySegmentTree) Prod

func (tree *LazySegmentTree) Prod(l, r int) int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL