0_0_23007880_9159.cpp: In function 'int main(int, const char**)':
0_0_23007880_9159.cpp:45:24: error: reference to 'rank' is ambiguous
cin >> rank[i][j];
^
0_0_23007880_9159.cpp:33:12: note: candidates are: std::string rank [6][20]
string tar,rank[6][20];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23007880_9159.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_23007880_9159.cpp:54:36: error: reference to 'rank' is ambiguous
iter = mp.find(rank[i][j]);
^
0_0_23007880_9159.cpp:33:12: note: candidates are: std::string rank [6][20]
string tar,rank[6][20];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23007880_9159.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_23007880_9159.cpp:57:62: error: expected primary-expression before '(' token
mp.insert(map<string,int>::value_type(rank[i][j],tot++));
^
0_0_23007880_9159.cpp:57:63: error: reference to 'rank' is ambiguous
mp.insert(map<string,int>::value_type(rank[i][j],tot++));
^
0_0_23007880_9159.cpp:33:12: note: candidates are: std::string rank [6][20]
string tar,rank[6][20];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23007880_9159.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_23007880_9159.cpp:64:32: error: reference to 'rank' is ambiguous
iter = mp.find(rank[5][j]);
^
0_0_23007880_9159.cpp:33:12: note: candidates are: std::string rank [6][20]
string tar,rank[6][20];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23007880_9159.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_23007880_9159.cpp:67:58: error: expected primary-expression before '(' token
mp.insert(map<string,int>::value_type(rank[5][j],tot++));
^
0_0_23007880_9159.cpp:67:59: error: reference to 'rank' is ambiguous
mp.insert(map<string,int>::value_type(rank[5][j],tot++));
^
0_0_23007880_9159.cpp:33:12: note: candidates are: std::string rank [6][20]
string tar,rank[6][20];
^
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++/bits/char_traits.h:39,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
from 0_0_23007880_9159.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|