Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/atcoder/ac-library
/ composition
Function
composition
test/example/lazyseg_practice1.cpp:25–25 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
23
S mapping(F l, S r) { return S{r.a * l.a + r.size * l.b, r.size}; }
24
25
F composition(F l, F r) { return F{r.a * l.a, r.b * l.a + l.b}; }
26
27
F id() { return F{1, 0}; }
28
Callers
1
all_apply
Method · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected