MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / ST

Method ST

Data Structures/Permutation Tree.cpp:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8#define rc ((n << 1) | 1)
9 int t[4 * N], lazy[4 * N];
10 ST() {}
11 inline void push(int n, int b, int e) {
12 if (lazy[n] == 0) return;
13 t[n] = t[n] + lazy[n];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected