0_0_16284835_10430.cpp: In function 'void calcheight(int*, int*, int)':
0_0_16284835_10430.cpp:61:5: error: reference to 'rank' is ambiguous
rank[sa[i]]=i;
^
0_0_16284835_10430.cpp:21:44: note: candidates are: int rank [200010]
int wa[va],cc,l[va],p,wb[va],wv[va],sa[va],rank[va],w[va],r[va],height[va],n,cnt,num,ca;
^
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++/string:40,
from 0_0_16284835_10430.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_16284835_10430.cpp:65:12: error: reference to 'rank' is ambiguous
int j=sa[rank[i]-1];
^
0_0_16284835_10430.cpp:21:44: note: candidates are: int rank [200010]
int wa[va],cc,l[va],p,wb[va],wv[va],sa[va],rank[va],w[va],r[va],height[va],n,cnt,num,ca;
^
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++/string:40,
from 0_0_16284835_10430.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_16284835_10430.cpp:68:13: error: reference to 'rank' is ambiguous
height[rank[i]]=p;
^
0_0_16284835_10430.cpp:21:44: note: candidates are: int rank [200010]
int wa[va],cc,l[va],p,wb[va],wv[va],sa[va],rank[va],w[va],r[va],height[va],n,cnt,num,ca;
^
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++/string:40,
from 0_0_16284835_10430.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
|