MCPcopy Create free account
hub / github.com/SuprDewd/CompetitiveProgramming / node

Method node

code/data-structures/segment_tree_node.cpp:6–6  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4 int l, r;
5 ll x, lazy;
6 node() {}
7 node(int _l, int _r) : l(_l), r(_r), x(0), lazy(0) { }
8 node(int _l, int _r, ll _x) : node(_l,_r) { x = _x; }
9 node(node a, node b) : node(a.l,b.r) { x = a.x + b.x; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected