amusementpark.cpp: In function 'void solve()':
amusementpark.cpp:37:5: error: reference to 'popcount' is ambiguous
37 | popcount[0]=0;
| ^~~~~~~~
In file included from /usr/include/c++/13/bits/stl_algobase.h:76,
from /usr/include/c++/13/algorithm:60,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:51,
from amusementpark.cpp:1:
/usr/include/c++/13/bit:426:5: note: candidates are: 'template<class _Tp> constexpr std::_If_is_unsigned_integer<_Tp, int> std::popcount(_Tp)'
426 | popcount(_Tp __x) noexcept
| ^~~~~~~~
amusementpark.cpp:14:16: note: 'long long int popcount [262144]'
14 | int dp[1<<18], popcount[1<<18], ind[1<<18];
| ^~~~~~~~
amusementpark.cpp:41:9: error: reference to 'popcount' is ambiguous
41 | popcount[i]=popcount[i^k]+1;
| ^~~~~~~~
/usr/include/c++/13/bit:426:5: note: candidates are: 'template<class _Tp> constexpr std::_If_is_unsigned_integer<_Tp, int> std::popcount(_Tp)'
426 | popcount(_Tp __x) noexcept
| ^~~~~~~~
amusementpark.cpp:14:16: note: 'long long int popcount [262144]'
14 | int dp[1<<18], popcount[1<<18], ind[1<<18];
| ^~~~~~~~
amusementpark.cpp:41:21: error: reference to 'popcount' is ambiguous
41 | popcount[i]=popcount[i^k]+1;
| ^~~~~~~~
/usr/include/c++/13/bit:426:5: note: candidates are: 'template<class _Tp> constexpr std::_If_is_unsigned_integer<_Tp, int> std::popcount(_Tp)'
426 | popcount(_Tp __x) noexcept
| ^~~~~~~~
amusementpark.cpp:14:16: note: 'long long int popcount [262144]'
14 | int dp[1<<18], popcount[1<<18], ind[1<<18];
| ^~~~~~~~
amusementpark.cpp:51:16: error: reference to 'popcount' is ambiguous
51 | if(popcount[i]&1){ //tek, poz
| ^~~~~~~~
/usr/include/c++/13/bit:426:5: note: candidates are: 'template<class _Tp> constexpr std::_If_is_unsigned_integer<_Tp, int> std::popcount(_Tp)'
426 | popcount(_Tp __x) noexcept
| ^~~~~~~~
amusementpark.cpp:14:16: note: 'long long int popcount [262144]'
14 | int dp[1<<18], popcount[1<<18], ind[1<<18];
| ^~~~~~~~