mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-07 20:46:16 +08:00
Update lca.cpp
This commit is contained in:
@@ -9,7 +9,7 @@ const int LG = log2(N) + 1;
|
||||
struct lca
|
||||
{
|
||||
int n;
|
||||
vector < int > adj[N]; // Graph
|
||||
vector<int> adj[N]; // Graph
|
||||
int up[LG][N]; // build this table
|
||||
int level[N]; // get the levels of all of them
|
||||
|
||||
|
||||
Reference in New Issue
Block a user