0_0_21873708_11607.cpp: In function 'void dfs2(int, int)':
0_0_21873708_11607.cpp:77:2: error: reference to 'rank' is ambiguous
rank[u] = ++rk;
^
0_0_21873708_11607.cpp:27:5: note: candidates are: int rank [100005]
int rank[MAXN]; //ÀëÉ¢»¯Ê÷µÄ½Úµã
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
from 0_0_21873708_11607.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_21873708_11607.cpp:85:20: error: expected '}' at end of input
int v = vec[u][i];
^
0_0_21873708_11607.cpp:85:20: error: expected '}' at end of input
|