0_0_38628862_7518.cpp: In function 'void init()':
0_0_38628862_7518.cpp:20:5: error: reference to 'size' is ambiguous
size[0]=size[1]=0;
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/deque:65,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/stack:60,
from 0_0_38628862_7518.cpp:3:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38628862_7518.cpp:10:47: note: 'int size [2]'
int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
^~~~
0_0_38628862_7518.cpp:20:13: error: reference to 'size' is ambiguous
size[0]=size[1]=0;
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/deque:65,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/stack:60,
from 0_0_38628862_7518.cpp:3:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38628862_7518.cpp:10:47: note: 'int size [2]'
int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
^~~~
0_0_38628862_7518.cpp: In function 'void add(int, int, int)':
0_0_38628862_7518.cpp:30:14: error: reference to 'size' is ambiguous
point[c][size[c]]=b;
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/deque:65,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/stack:60,
from 0_0_38628862_7518.cpp:3:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38628862_7518.cpp:10:47: note: 'int size [2]'
int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
^~~~
0_0_38628862_7518.cpp:31:12: error: reference to 'size' is ambiguous
nxt[c][size[c]]=head[c][a];
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/deque:65,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/stack:60,
from 0_0_38628862_7518.cpp:3:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38628862_7518.cpp:10:47: note: 'int size [2]'
int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
^~~~
0_0_38628862_7518.cpp:32:16: error: reference to 'size' is ambiguous
head[c][a]=size[c]++;
^~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/deque:65,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/stack:60,
from 0_0_38628862_7518.cpp:3:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:252:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
size(const _Tp (&/*__array*/)[_Nm]) noexcept
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/range_access.h:242:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
size(const _Container& __cont) noexcept(noexcept(__cont.size()))
^~~~
0_0_38628862_7518.cpp:10:47: note: 'int size [2]'
int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
^~~~
|