Problem ccs
User lykieutrang
Submission Time 2025-07-09 12:43:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

ccs.cpp: In function ‘int main()’:
ccs.cpp:32:33: error: no match for ‘operator||’ (operand types are ‘bool’ and ‘std::_Rb_tree_const_iterator<long long int>’)
32 | if (y < *it || it = meowww.end()) cout << "YES" << "\n"; // Nếu không có mèo nào ngủ ở giữa mèo x và y HOẶC vốn dĩ tất cả các mèo đang ngủ đều nhỏ hơn x
| ~~~~~~~ ^~ ~~
| | |
| bool std::_Rb_tree_const_iterator<long long int>
ccs.cpp:32:33: note: candidate: ‘operator||(bool, bool)’ <built-in>
32 | if (y < *it || it = meowww.end()) cout << "YES" << "\n"; // Nếu không có mèo nào ngủ ở giữa mèo x và y HOẶC vốn dĩ tất cả các mèo đang ngủ đều nhỏ hơn x
| ~~~~~~~~^~~~~
ccs.cpp:32:33: note: no known conversion for argument 2 from ‘std::_Rb_tree_const_iterator<long long int&g