0_0_14945730_17612.cpp: In function 'bool _union(int, int)':
0_0_14945730_17612.cpp:36:6: error: reference to 'rank' is ambiguous
if(rank[fu] > rank[fv])
^
0_0_14945730_17612.cpp:26:5: note: candidates are: int rank [100005]
int rank[N];
^
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++/vector:60,
from 0_0_14945730_17612.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14945730_17612.cpp:36:17: error: reference to 'rank' is ambiguous
if(rank[fu] > rank[fv])
^
0_0_14945730_17612.cpp:26:5: note: candidates are: int rank [100005]
int rank[N];
^
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++/vector:60,
from 0_0_14945730_17612.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14945730_17612.cpp:40:7: error: reference to 'rank' is ambiguous
if(rank[fu] == rank[fv])
^
0_0_14945730_17612.cpp:26:5: note: candidates are: int rank [100005]
int rank[N];
^
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++/vector:60,
from 0_0_14945730_17612.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14945730_17612.cpp:40:19: error: reference to 'rank' is ambiguous
if(rank[fu] == rank[fv])
^
0_0_14945730_17612.cpp:26:5: note: candidates are: int rank [100005]
int rank[N];
^
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++/vector:60,
from 0_0_14945730_17612.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14945730_17612.cpp:41:7: error: reference to 'rank' is ambiguous
++rank[fv];
^
0_0_14945730_17612.cpp:26:5: note: candidates are: int rank [100005]
int rank[N];
^
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++/vector:60,
from 0_0_14945730_17612.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|