Problem ccs
User Enigma
Submission Time 2023-11-09 10:44:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int32_t main()’:
ccs.cpp:21:44: error: no match for ‘operator&&’ (operand types are ‘bool’ and ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’})
21 | }else if (*s.lower_bound(von) <= bis and s.lower_bound(von) = s.end()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~ ~~~~~~~~~~~~~~~~~~
| | |
| bool std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}
ccs.cpp:21:44: note: candidate: ‘operator&&(bool, bool)’ <built-in>
21 | }else if (*s.lower_bound(von) <= bis and s.lower_bound(von) = s.end()){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
ccs.cpp:21:44: note: no known conversion for argument 2 from ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_t