Problem | uniquenumbers |
---|---|
User | OMW |
Submission Time | 2025-02-14 14:26:36 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:13:7: error: no match for ‘operator!’ (operand type is ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’})
13 | if (!unique_numbers.find(num) == s.end()){
| ^~~~~~~~~~~~~~~~~~~~~~~~~
uniquenumbers.cpp:13:7: note: candidate: ‘operator!(bool)’ <built-in>
uniquenumbers.cpp:13:7: note: no known conversion for argument 1 from ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘bool’
uniquenumbers.cpp:13:36: error: ‘s’ was not declared in this scope
13 | if (!unique_numbers.find(num) == s.end()){
| ^