Problem | splithunny |
---|---|
User | DoubleShaurya |
Submission Time | 2024-01-20 11:06:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
splithunny.cpp: In function ‘void explorePool(int, int, std::vector<std::pair<int, int> >&, std::pair<int, int>)’:
splithunny.cpp:24:54: error: no matching function for call to ‘find(std::vector<std::pair<int, int> >::iterator, std::vector<std::pair<int, int> >::iterator, std::pair<int, int>&)’
24 | if (find(pools.begin(), pools.end(), neighbor) != pools.end()) {
| ^
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 splithunny.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<_Char