Problem | contestcalc |
---|---|
User | innerspace777 |
Submission Time | 2024-05-16 12:47:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int find(std::string*, int, std::string)’:
contestcalc.cpp:4:58: error: no matching function for call to ‘find(std::string*&, std::string*, std::string&)’
4 | return std::distance(arr, std::find(arr, arr + len, seek));
| ^
In file included from /usr/include/c++/9/bits/locale_facets.h:48,
from /usr/include/c++/9/bits/basic_ios.h:37,
from /usr/include/c++/9/ios:44,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from contestcalc.cpp:1:
/usr/include/c++/9/bits/streambuf_iterator.h:373:5: note: candidate: ‘template<class _CharT2> typename __gnu_cxx::__enable_if<std::__is_char<_CharT2>::__value, std::istreambuf_iterator<_CharT> >::__type std::find(std::istreambuf_iterator<_CharT>, std::istreambuf_iterator<_CharT>, const _