Problem | collectmushrooms |
---|---|
User | Dynonychus |
Submission Time | 2024-01-10 22:51:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
collectmushrooms.cpp: In function ‘void fill(long long int*, long long int)’:
collectmushrooms.cpp:13:3: error: reference to ‘search’ is ambiguous
13 | search[i][0] = i;
| ^~~~~~
In file included from /usr/include/c++/9/algorithm:71,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,
from collectmushrooms.cpp:1:
/usr/include/c++/9/pstl/glue_algorithm_defs.h:117:1: note: candidates are: ‘template<class _ExecutionPolicy, class _ForwardIterator1, class _ForwardIterator2> __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> std::search(_ExecutionPolicy&&, _ForwardIterator1, _ForwardIterator1, _ForwardIterator2, _ForwardIterator2)’
117 | search(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _ForwardIterator2 __s_first,
| ^~~~~~
/usr/include/c++/9/pstl/glue_algorithm_defs.h:112:1: note: ‘template<class _Ex