0_0_13512617_18620.cpp: In function 'void dfs(int)':
0_0_13512617_18620.cpp:33:2: error: reference to 'fpos' is ambiguous
fpos[cur]=++cnt;
^
0_0_13512617_18620.cpp:20:15: note: candidates are: int fpos [50010]
int e[maxn*2],fpos[maxn],lpos[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_13512617_18620.cpp:2:
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_13512617_18620.cpp: In function 'int main()':
0_0_13512617_18620.cpp:114:31: error: reference to 'fpos' is ambiguous
printf("%d\n",query(root,fpos[x]));
^
0_0_13512617_18620.cpp:20:15: note: candidates are: int fpos [50010]
int e[maxn*2],fpos[maxn],lpos[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_13512617_18620.cpp:2:
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_13512617_18620.cpp:119:16: error: reference to 'fpos' is ambiguous
update(root,fpos[x],lpos[x],y);
^
0_0_13512617_18620.cpp:20:15: note: candidates are: int fpos [50010]
int e[maxn*2],fpos[maxn],lpos[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_13512617_18620.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/postypes.h:112:11: note: template<class _StateT> class std::fpos
class fpos
^
|