Dynamic segment tree constructor
This commit is contained in:
parent
8e5d921b08
commit
4b06705e6c
|
@ -568,7 +568,7 @@ struct node {
|
|||
int s;
|
||||
int x, y;
|
||||
node *l, *r;
|
||||
node(int x, int a, int b) : s(s), x(x), y(y) {}
|
||||
node(int s, int x, int y) : s(s), x(x), y(y) {}
|
||||
};
|
||||
\end{lstlisting}
|
||||
Here $s$ is the value of the node,
|
||||
|
|
Loading…
Reference in New Issue