0_0_18730786_25215.cpp: In function 'int Rank(int (*)[550])':
0_0_18730786_25215.cpp:92:27: error: call of overloaded 'swap(int [550], int [550])' is ambiguous
swap(c[i],c[r]);
^
0_0_18730786_25215.cpp:92:27: note: candidates are:
0_0_18730786_25215.cpp:60:26: note: void swap(T_T*, T_T*) [with T_T = int]
template<class T_T> void swap(T_T *a,T_T *b){T_T c;c=a;a=b;b=c;}
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59:0,
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_18730786_25215.cpp:7:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:185:5: note: void std::swap(_Tp (&)[_Nm], _Tp (&)[_Nm]) [with _Tp = int; long long unsigned int _Nm = 550ull]
swap(_Tp (&__a)[_Nm], _Tp (&__b)[_Nm])
^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:166:5: note: void std::swap(_Tp&, _Tp&) [with _Tp = int [550]]
swap(_Tp& __a, _Tp& __b)
^
|