0_0_39492105_20710.cpp: In function 'bool match(long long int)':
0_0_39492105_20710.cpp:22:21: error: reference to 'visit' is ambiguous
22 | if(!visit[v]){
| ^~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/x86_64-w64-mingw32/bits/stdc++.h:80,
from 0_0_39492105_20710.cpp:5:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1867:5: note: candidates are: 'template<class _Res, class _Visitor, class ... _Variants> constexpr _Res std::visit(_Visitor&&, _Variants&& ...)'
1867 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1827:5: note: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
1827 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
0_0_39492105_20710.cpp:16:6: note: 'bool visit [20005]'
16 | bool visit[maxn]={0};
| ^~~~~
0_0_39492105_20710.cpp:23:25: error: reference to 'visit' is ambiguous
23 | visit[v]=1;
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1867:5: note: candidates are: 'template<class _Res, class _Visitor, class ... _Variants> constexpr _Res std::visit(_Visitor&&, _Variants&& ...)'
1867 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1827:5: note: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
1827 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
0_0_39492105_20710.cpp:16:6: note: 'bool visit [20005]'
16 | bool visit[maxn]={0};
| ^~~~~
0_0_39492105_20710.cpp: In function 'long long int hungary(long long int)':
0_0_39492105_20710.cpp:36:24: error: reference to 'visit' is ambiguous
36 | memset(visit,0,sizeof(visit));
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1867:5: note: candidates are: 'template<class _Res, class _Visitor, class ... _Variants> constexpr _Res std::visit(_Visitor&&, _Variants&& ...)'
1867 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1827:5: note: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
1827 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
0_0_39492105_20710.cpp:16:6: note: 'bool visit [20005]'
16 | bool visit[maxn]={0};
| ^~~~~
0_0_39492105_20710.cpp:36:39: error: reference to 'visit' is ambiguous
36 | memset(visit,0,sizeof(visit));
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1867:5: note: candidates are: 'template<class _Res, class _Visitor, class ... _Variants> constexpr _Res std::visit(_Visitor&&, _Variants&& ...)'
1867 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/variant:1827:5: note: 'template<class _Visitor, class ... _Variants> constexpr std::__detail::__variant::__visit_result_t<_Visitor, _Variants ...> std::visit(_Visitor&&, _Variants&& ...)'
1827 | visit(_Visitor&& __visitor, _Variants&&... __variants)
| ^~~~~
0_0_39492105_20710.cpp:16:6: note: 'bool visit [20005]'
16 | bool visit[maxn]={0};
| ^~~~~
|