Problem | ccs |
---|---|
User | Hengweezy |
Submission Time | 2024-01-31 15:57:04 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ccs.cpp: In function ‘int main()’:
ccs.cpp:21:14: error: no match for ‘operator>=’ (operand types are ‘std::_Rb_tree_const_iterator<int>’ and ‘std::_Rb_tree_const_iterator<int>’)
21 | if(higher >= lower){
| ~~~~~~ ^~ ~~~~~
| | |
| | _Rb_tree_const_iterator<[...]>
| _Rb_tree_const_iterator<[...]>
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 ccs.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:479:5: note: candidate: ‘template<class _T1, class _T2> constexpr bool std::operator>=(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)’
479 | operator>=(const pair<_T1