0_0_38794093_21870.cpp: In function 'void init()':
0_0_38794093_21870.cpp:29:12: error: reference to 'size' is ambiguous
29 | memset(size, 0);
| ^~~~
0_0_38794093_21870.cpp:10:29: note: in definition of macro 'memset'
10 | #define memset(x, y) memset(x, y, sizeof(x))
| ^
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/string:53,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bitset:52,
from .\stdc++.h:52:
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_38794093_21870.cpp:17:49: note: 'int size [5010]'
17 | int head[N], head_c[N], dfn[N], low[N], scc[N], size[N], w[N], ind[N];
| ^~~~
0_0_38794093_21870.cpp:29:12: error: reference to 'size' is ambiguous
29 | memset(size, 0);
| ^~~~
0_0_38794093_21870.cpp:10:42: note: in definition of macro 'memset'
10 | #define memset(x, y) memset(x, y, sizeof(x))
| ^
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_38794093_21870.cpp:17:49: note: 'int size [5010]'
17 | int head[N], head_c[N], dfn[N], low[N], scc[N], size[N], w[N], ind[N];
| ^~~~
0_0_38794093_21870.cpp: In function 'void tarjan(int)':
0_0_38794093_21870.cpp:73:13: error: reference to 'size' is ambiguous
73 | size[scctot]++;
| ^~~~
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_38794093_21870.cpp:17:49: note: 'int size [5010]'
17 | int head[N], head_c[N], dfn[N], low[N], scc[N], size[N], w[N], ind[N];
| ^~~~
0_0_38794093_21870.cpp:75:21: error: reference to 'size' is ambiguous
75 | w[scctot] = size[scctot] - 1;
| ^~~~
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_38794093_21870.cpp:17:49: note: 'int size [5010]'
17 | int head[N], head_c[N], dfn[N], low[N], scc[N], size[N], w[N], ind[N];
| ^~~~
|