OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901988f
)
析合树模板查询传参错误
author
xyjg
<50234881+xyjg@users.noreply.github.com>
Mon, 2 Sep 2019 08:43:58 +0000
(16:43 +0800)
committer
GitHub
<noreply@github.com>
Mon, 2 Sep 2019 08:43:58 +0000
(16:43 +0800)
RT,已修改
docs/ds/divide-combine.md
patch
|
blob
|
history
diff --git
a/docs/ds/divide-combine.md
b/docs/ds/divide-combine.md
index
c7c5964
..
4fc3b82
100644
(file)
--- a/
docs/ds/divide-combine.md
+++ b/
docs/ds/divide-combine.md
@@
-370,7
+370,7
@@
void build() {
rt = st[1]; // 栈中最后剩下的点是根结点
}
-void query(int
r, int l
) {
+void query(int
l, int r
) {
int x = id[l], y = id[r];
int z = lca(x, y);
if (typ[z] & 1)