MCPcopy Create free account
hub / github.com/atcoder/ac-library / mapping

Function mapping

test/example/lazyseg_practice1.cpp:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21S e() { return S{0, 0}; }
22
23S mapping(F l, S r) { return S{r.a * l.a + r.size * l.b, r.size}; }
24
25F composition(F l, F r) { return F{r.a * l.a, r.b * l.a + l.b}; }
26

Callers 2

applyMethod · 0.50
all_applyMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected