archery.cpp: In function 'int main()':
archery.cpp:17:16: error: reference to 'rank' is ambiguous
17 | cin >> rank[i];
| ^~~~
In file included from /usr/include/c++/10/bits/move.h:57,
from /usr/include/c++/10/bits/stl_pair.h:59,
from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from archery.cpp:1:
/usr/include/c++/10/type_traits:1359:12: note: candidates are: 'template<class> struct std::rank'
1359 | struct rank
| ^~~~
archery.cpp:6:10: note: 'unsigned int rank [400000]'
6 | unsigned rank[N << 1];
| ^~~~
archery.cpp:19:9: error: reference to 'rank' is ambiguous
19 | if (rank[0] == 1)
| ^~~~
In file included from /usr/include/c++/10/bits/move.h:57,
from /usr/include/c++/10/bits/stl_pair.h:59,
from /usr/include/c++/10/bits/stl_algobase.h:64,
from /usr/include/c++/10/bits/specfun.h:45,
from /usr/include/c++/10/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:41,
from archery.cpp:1:
/usr/include/c++/10/type_traits:1359:12: note: candidates are: 'template<class> struct std::rank'
1359 | struct rank
| ^~~~
archery.cpp:6:10: note: 'unsigned int rank [400000]'
6 | unsigned rank[N << 1];
| ^~~~