0_0_16089401_19241.cpp: In function 'void input()':
0_0_16089401_19241.cpp:25:3: error: reference to 'rank' is ambiguous
rank[i] = i;
^
0_0_16089401_19241.cpp:9:5: note: candidates are: int rank [105]
int rank[M], id[M];
^
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_16089401_19241.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_16089401_19241.cpp: In function 'void swapp(int, int)':
0_0_16089401_19241.cpp:59:7: error: reference to 'rank' is ambiguous
swap(rank[iid], rank[jid]);
^
0_0_16089401_19241.cpp:9:5: note: candidates are: int rank [105]
int rank[M], id[M];
^
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_16089401_19241.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_16089401_19241.cpp:59:18: error: reference to 'rank' is ambiguous
swap(rank[iid], rank[jid]);
^
0_0_16089401_19241.cpp:9:5: note: candidates are: int rank [105]
int rank[M], id[M];
^
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_16089401_19241.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_16089401_19241.cpp: In function 'void get_capacity()':
0_0_16089401_19241.cpp:90:11: error: reference to 'rank' is ambiguous
int i = rank[k];
^
0_0_16089401_19241.cpp:9:5: note: candidates are: int rank [105]
int rank[M], id[M];
^
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_16089401_19241.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|