0_0_35138210_427.cpp: In function 'void setUnion(std::pair<int, int>, std::pair<int, int>)':
0_0_35138210_427.cpp:96:9: error: reference to 'rank' is ambiguous
if (rank[a.first][a.second] < rank[b.first][b.second])
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp:96:35: error: reference to 'rank' is ambiguous
if (rank[a.first][a.second] < rank[b.first][b.second])
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp:98:14: error: reference to 'rank' is ambiguous
else if (rank[a.first][a.second] > rank[b.first][b.second])
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp:98:40: error: reference to 'rank' is ambiguous
else if (rank[a.first][a.second] > rank[b.first][b.second])
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp:102:12: error: reference to 'rank' is ambiguous
++ rank[a.first][a.second];
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp: In function 'void indata()':
0_0_35138210_427.cpp:227:5: error: reference to 'rank' is ambiguous
rank.assign(N, vector<int>());
^
0_0_35138210_427.cpp:33: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_35138210_427.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_35138210_427.cpp:243:9: error: reference to 'rank' is ambiguous
rank[i].assign(relat[i].size(), 0);
^
0_0_35138210_427.cpp:33: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_35138210_427.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|