0_0_14150502_16709.cpp: In function 'bool judge(int)':
0_0_14150502_16709.cpp:34:24: error: reference to 'rank' is ambiguous
if (t[i].id != rank[i]) return false;
^
0_0_14150502_16709.cpp:18:5: note: candidates are: int rank [1005]
int rank[1000+5];
^
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_14150502_16709.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14150502_16709.cpp: In function 'int main()':
0_0_14150502_16709.cpp:92:42: error: reference to 'rank' is ambiguous
for (int i = 0; i < tt; i++) rank[i] = t[i].id;
^
0_0_14150502_16709.cpp:18:5: note: candidates are: int rank [1005]
int rank[1000+5];
^
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_14150502_16709.cpp:5:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|