0_0_32438829_6519.cpp: In function 'int main()':
0_0_32438829_6519.cpp:29:31: error: reference to 'fpos' is ambiguous
for(int i=1;i<=n;i++)u=in(),fpos[u]=i;
^
0_0_32438829_6519.cpp:19:15: note: candidates are: int fpos [1000001]
int q[maxn*2],fpos[maxn],a[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:40:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_32438829_6519.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:112:11: note: template<class _StateT> class std::fpos
class fpos
^
0_0_32438829_6519.cpp:32:13: error: reference to 'fpos' is ambiguous
int t=fpos[a[i]];head++;
^
0_0_32438829_6519.cpp:19:15: note: candidates are: int fpos [1000001]
int q[maxn*2],fpos[maxn],a[maxn];
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:40:0,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/random:40,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:66,
from GCC4.9.2/x86_64-w64-mingw32/include/c++/algorithm:62,
from 0_0_32438829_6519.cpp:3:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:112:11: note: template<class _StateT> class std::fpos
class fpos
^
|