0_0_28123504_28810.cpp: In function 'void setUnion(std::pair<int, int>, std::pair<int, int>)':
0_0_28123504_28810.cpp:98:9: error: reference to 'rank' is ambiguous
if (rank[a.first][a.second] < rank[b.first][b.second])
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp:98:35: error: reference to 'rank' is ambiguous
if (rank[a.first][a.second] < rank[b.first][b.second])
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp:100:14: error: reference to 'rank' is ambiguous
else if (rank[a.first][a.second] > rank[b.first][b.second])
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp:100:40: error: reference to 'rank' is ambiguous
else if (rank[a.first][a.second] > rank[b.first][b.second])
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp:104:12: error: reference to 'rank' is ambiguous
++ rank[a.first][a.second];
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp: In function 'void indata()':
0_0_28123504_28810.cpp:229:5: error: reference to 'rank' is ambiguous
rank.assign(N, vector<int>());
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_28123504_28810.cpp:245:9: error: reference to 'rank' is ambiguous
rank[i].assign(relat[i].size(), 0);
^
0_0_28123504_28810.cpp:35:23: note: candidates are: std::vector<std::vector<int> > rank
vector< vector<int> > rank;
^
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_28123504_28810.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|