From 4b06705e6c4fc57f53c8c876b71bd5fbcd4c351e Mon Sep 17 00:00:00 2001 From: Antti H S Laaksonen Date: Sun, 12 Feb 2017 20:13:00 +0200 Subject: [PATCH] Dynamic segment tree constructor --- luku28.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/luku28.tex b/luku28.tex index cd26856..5b801fa 100644 --- a/luku28.tex +++ b/luku28.tex @@ -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,