Dynamic segment tree constructor

This commit is contained in:
Antti H S Laaksonen 2017-02-12 20:13:00 +02:00
parent 8e5d921b08
commit 4b06705e6c
1 changed files with 1 additions and 1 deletions

View File

@ -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,