amusementpark.cpp: In function 'int main()':
amusementpark.cpp:26:3: error: reference to 'arg' is ambiguous
26 | arg[i] = (popcount[i] % 2) * 2 - 1;
| ^~~
In file included from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from amusementpark.cpp:1:
/usr/include/c++/10/complex:1848:5: note: candidates are: 'template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::arg(_Tp)'
1848 | arg(_Tp __x)
| ^~~
/usr/include/c++/10/complex:652:5: note: 'template<class _Tp> _Tp std::arg(const std::complex<_Tp>&)'
652 | arg(const complex<_Tp>& __z) { return __complex_arg(__z.__rep()); }
| ^~~
amusementpark.cpp:9:5: note: 'int arg [262144]'
9 | int arg[1 << N];
| ^~~
amusementpark.cpp:37:38: error: reference to 'arg' is ambiguous
37 | if (indepset[j]) { f[i] = (f[i] + arg[j] * f[i ^ j]) % M; }
| ^~~
In file included from /usr/include/c++/10/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:54,
from amusementpark.cpp:1:
/usr/include/c++/10/complex:1848:5: note: candidates are: 'template<class _Tp> typename __gnu_cxx::__promote<_Tp>::__type std::arg(_Tp)'
1848 | arg(_Tp __x)
| ^~~
/usr/include/c++/10/complex:652:5: note: 'template<class _Tp> _Tp std::arg(const std::complex<_Tp>&)'
652 | arg(const complex<_Tp>& __z) { return __complex_arg(__z.__rep()); }
| ^~~
amusementpark.cpp:9:5: note: 'int arg [262144]'
9 | int arg[1 << N];
| ^~~