0_0_14802232_16118.cpp: In function 'void da(int*, int*, int, int)':
0_0_14802232_16118.cpp:34:18: error: reference to 'rank' is ambiguous
int i,j,p,*x=rank,*y=wb,*t;
^
0_0_14802232_16118.cpp:23:5: note: candidates are: int rank [40010]
int rank[maxn],wb[maxn],wv[maxn],wss[maxn];
^
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_14802232_16118.cpp:14:
GCC4.9.2/x86_64-w64-mingw32/include/c++/type_traits:1340:12: note: template<class> struct std::rank
struct rank
^
0_0_14802232_16118.cpp:43:32: error: 'y' was not declared in this scope
for(p=0,i=n-j;i<n;i++) y[p++]=i;
^
0_0_14802232_16118.cpp:44:39: error: 'y' was not declared in this scope
for(i=0;i<n;i++) if(sa[i]>=j) y[p++]=sa[i]-j;
^
0_0_14802232_16118.cpp:45:34: error: 'y' was not declared in this scope
for(i=0;i<n;i++) wv[i]=x[y[i]];
^
0_0_14802232_16118.cpp:49:46: error: 'y' was not declared in this scope
for(i=n-1;i>=0;i--) sa[--wss[wv[i]]]=y[i];
^
0_0_14802232_16118.cpp:50:13: error: 't' was not declared in this scope
for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
^
0_0_14802232_16118.cpp:50:19: error: 'y' was not declared in this scope
for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
^
|