| Problem | eating |
|---|---|
| User | Dolphy |
| Submission Time | 2026-10-18 23:34:40 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
eating.cpp: In function ‘int32_t main()’:
eating.cpp:13:7: error: no match for ‘operator!’ (operand type is ‘std::set<std::__cxx11::basic_string<char> >::iterator’ {aka ‘std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >’})
13 | if (!brand.find(a+" "+b)){
| ^~~~~~~~~~~~~~~~~~~~
eating.cpp:13:7: note: candidate: ‘operator!(bool)’ <built-in>
eating.cpp:13:7: note: no known conversion for argument 1 from ‘std::set<std::__cxx11::basic_string<char> >::iterator’ {aka ‘std::_Rb_tree_const_iterator<std::__cxx11::basic_string<char> >’} to ‘bool’