answer.code: In function ‘void find(int, int, int)’:
answer.code:10:9: error: reference to ‘size’ is ambiguous
10 | size[now]=1,maxs[now]=0;
| ^~~~
In file included from /usr/include/c++/13/string:53,
from /usr/include/c++/13/bits/locale_classes.h:40,
from /usr/include/c++/13/bits/ios_base.h:41,
from /usr/include/c++/13/ios:44,
from /usr/include/c++/13/ostream:40,
from /usr/include/c++/13/iostream:41,
from answer.code:1:
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,size[100010],maxs[100010];
| ^~~~
answer.code:19:17: error: reference to ‘size’ is ambiguous
19 | size[now]+=size[t];
| ^~~~
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,size[100010],maxs[100010];
| ^~~~
answer.code:19:28: error: reference to ‘size’ is ambiguous
19 | size[now]+=size[t];
| ^~~~
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,size[100010],maxs[100010];
| ^~~~
answer.code:20:41: error: reference to ‘size’ is ambiguous
20 | maxs[now]=max(maxs[now],size[t]);
| ^~~~
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,size[100010],maxs[100010];
| ^~~~
answer.code:22:38: error: reference to ‘size’ is ambiguous
22 | maxs[now]=max(maxs[now],Size-size[now]);
| ^~~~
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,size[100010],maxs[100010];
| ^~~~
answer.code: In function ‘bool cmp(int, int)’:
answer.code:30:16: error: reference to ‘size’ is ambiguous
30 | return size[x]<size[y];
| ^~~~
/usr/include/c++/13/bits/range_access.h:274:5: note: candidates are: ‘template<class _Tp, long unsigned int _Nm> constexpr std::size_t std::size(const _Tp (&)[_Nm])’
274 | size(const _Tp (&)[_Nm]) noexcept
| ^~~~
/usr/include/c++/13/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()))
| ^~~~
answer.code:5:14: note: ‘int size [100010]’
5 | int T,n,root,si...