problemscpp
A collection of my answers to algorithm problems in c++.
|
1021 Deepest Root 更多...
函数 | |
int | dfs (const vector< unordered_set< int > > &g, int father, int nd) |
int | dfs (int father, int nd) |
int | main (istream &cin, ostream &cout) |
TEST (a1021, case1) | |
TEST (a1021, case2) | |
TEST (a1021, case3) | |
1021 Deepest Root
int pat::a::a1021::dfs | ( | const vector< unordered_set< int > > & | g, |
int | father, | ||
int | nd ) |
引用了 dfs().
int pat::a::a1021::dfs | ( | int | father, |
int | nd ) |
int pat::a::a1021::main | ( | istream & | cin, |
ostream & | cout ) |
引用了 dfs(), UnionFind::find() , 以及 UnionFind::unite().
pat::a::a1021::TEST | ( | a1021 | , |
case1 | ) |
在文件 pat_test.cpp 第 2259 行定义.
引用了 main().
pat::a::a1021::TEST | ( | a1021 | , |
case2 | ) |
在文件 pat_test.cpp 第 2273 行定义.
引用了 main().
pat::a::a1021::TEST | ( | a1021 | , |
case3 | ) |
在文件 pat_test.cpp 第 2284 行定义.
引用了 main().