0_0_38790674_13133.cpp: In function 'void init()':
0_0_38790674_13133.cpp:17:5: error: reference to 'size' is ambiguous
17 | size[0]=size[1]=0;
| ^~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/deque:68,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/stack:62,
from 0_0_38790674_13133.cpp:3:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_38790674_13133.cpp:10:47: note: 'int size [2]'
10 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790674_13133.cpp:17:13: error: reference to 'size' is ambiguous
17 | size[0]=size[1]=0;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_38790674_13133.cpp:10:47: note: 'int size [2]'
10 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790674_13133.cpp: In function 'void add(int, int, int)':
0_0_38790674_13133.cpp:22:14: error: reference to 'size' is ambiguous
22 | point[c][size[c]]=b;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_38790674_13133.cpp:10:47: note: 'int size [2]'
10 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790674_13133.cpp:23:12: error: reference to 'size' is ambiguous
23 | nxt[c][size[c]]=head[c][a];
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_38790674_13133.cpp:10:47: note: 'int size [2]'
10 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790674_13133.cpp:24:16: error: reference to 'size' is ambiguous
24 | head[c][a]=size[c]++;
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:274:5: note: candidates are: 'template<class _Tp, long long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])'
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/range_access.h:264:5: note: 'template<class _Container> constexpr decltype (__cont.size()) std::size(const _Container&)'
264 | size(const _Container& __cont) noexcept(noexcept(__cont.size()))
| ^~~~
0_0_38790674_13133.cpp:10:47: note: 'int size [2]'
10 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
|