0_0_20451258_25496.cpp: In function 'int main()':
0_0_20451258_25496.cpp:49:26: error: reference to 'rank' is ambiguous
for(int j=1; j<=n; j++)rank[i][j]=M[a[i][j]];
^
0_0_20451258_25496.cpp:28:17: note: candidates are: int rank [505][505]
int n,Next[505],rank[505][505],Rank[1005][505],Husband[1005],Wife[505];
^
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_20451258_25496.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_20451258_25496.cpp:59:14: error: reference to 'rank' is ambiguous
int Object=rank[Now][Next[Now]++]; //ΆΤΟσ
^
0_0_20451258_25496.cpp:28:17: note: candidates are: int rank [505][505]
int n,Next[505],rank[505][505],Rank[1005][505],Husband[1005],Wife[505];
^
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_20451258_25496.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|