Skip to content

Commit

Permalink
删除了两句无效代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Dev-XYS authored Aug 8, 2016
1 parent c636328 commit 025e3ab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Least-Common-Ancestor(Tarjan).cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ void merge(int x, int y)

void DFS(int u, int prev)
{
fa[u] = u;
size[u] = 1;
ancestor[get_root(u)] = u;

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

0 comments on commit 025e3ab

Please sign in to comment.