Problem | cups |
---|---|
User | Phoubia01 |
Submission Time | 2025-07-05 09:04:03 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
cups.cpp: In function ‘int main()’:
cups.cpp:12:26: error: could not convert ‘cups.std::set<int>::find((a - add))’ from ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘bool’
12 | if (cups.find(a - add)){
| ~~~~~~~~~^~~~~~~~~
| |
| std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}