0_0_25643794_6186.cpp: In function 'void Combine(int, int)':
0_0_25643794_6186.cpp:35:8: error: reference to 'rank' is ambiguous
if(rank[fa]>rank[fb])
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_25643794_6186.cpp:35:17: error: reference to 'rank' is ambiguous
if(rank[fa]>rank[fb])
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_25643794_6186.cpp:45:6: error: reference to 'rank' is ambiguous
if(rank[fa]==rank[fb])
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_25643794_6186.cpp:45:16: error: reference to 'rank' is ambiguous
if(rank[fa]==rank[fb])
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_25643794_6186.cpp:47:4: error: reference to 'rank' is ambiguous
rank[fb]++;
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_25643794_6186.cpp: In function 'int main()':
0_0_25643794_6186.cpp:65:4: error: reference to 'rank' is ambiguous
rank[i]=0;
^
0_0_25643794_6186.cpp:10:27: note: candidates are: int rank [100007]
int num[100003],F[100003],rank[100007];
^
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++/utility:70,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:60,
from 0_0_25643794_6186.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|