| Problem | catlunch |
|---|---|
| User | wahjsodhowasd |
| Submission Time | 2026-02-15 17:18:22 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
catlunch.cpp: In function ‘int main()’:
catlunch.cpp:21:25: error: no match for ‘operator>’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} and ‘__gnu_cxx::__normal_iterator<int*, std::vector<int> >’)
21 | else if(nega==0 && v[i] > min_element(neg.begin(),neg.end()) ){
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from catlunch.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:467:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator>(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
467 | operator>(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)