Skip to content

Commit 025e3ab

Browse files
authored
删除了两句无效代码
1 parent c636328 commit 025e3ab

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Least-Common-Ancestor(Tarjan).cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ void merge(int x, int y)
8383

8484
void DFS(int u, int prev)
8585
{
86-
fa[u] = u;
87-
size[u] = 1;
8886
ancestor[get_root(u)] = u;
8987

9088
for (int cur = V[u].first_edge; cur != 0; cur = E[cur].next)

0 commit comments

Comments
 (0)