0_0_38790683_436.cpp: In function 'void init()':
0_0_38790683_436.cpp:15:5: error: 'memset' was not declared in this scope
15 | memset(head,-1,sizeof(head));
| ^~~~~~
0_0_38790683_436.cpp:4:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include<queue>
+++ |+#include <cstring>
4 | using namespace std;
0_0_38790683_436.cpp:16:5: error: reference to 'size' is ambiguous
16 | 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_38790683_436.cpp:2:
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_38790683_436.cpp:9:47: note: 'int size [2]'
9 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790683_436.cpp:16:13: error: reference to 'size' is ambiguous
16 | 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_38790683_436.cpp:9:47: note: 'int size [2]'
9 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790683_436.cpp: In function 'void add(int, int, int)':
0_0_38790683_436.cpp:21:14: error: reference to 'size' is ambiguous
21 | 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_38790683_436.cpp:9:47: note: 'int size [2]'
9 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790683_436.cpp:22:12: error: reference to 'size' is ambiguous
22 | 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_38790683_436.cpp:9:47: note: 'int size [2]'
9 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790683_436.cpp:23:16: error: reference to 'size' is ambiguous
23 | 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_38790683_436.cpp:9:47: note: 'int size [2]'
9 | int head[2][maxn],point[2][maxm],nxt[2][maxm],size[2];
| ^~~~
0_0_38790683_436.cpp: In function 'void setscc()':
0_0_38790683_436.cpp:52:5: error: 'memset' was not declared in this scope
52 | memset(stx,0,sizeof(stx));
| ^~~~~~
0_0_38790683_436.cpp:52:5: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|