Problem | duckhunt5 |
---|---|
User | xragon |
Submission Time | 2024-12-21 09:40:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:19:17: error: cannot convert ‘std::multiset<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘int’ in assignment
19 | it = ms.begin();
| ~~~~~~~~^~
| |
| std::multiset<int>::iterator {aka std::_Rb_tree_const_iterator<int>}
duckhunt5.cpp:24:24: error: cannot convert ‘std::multiset<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘int’ in assignment
24 | it = ms.lower_bound(x)
| ~~~~~~~~~~~~~~^~~
| |
| std::multiset<int>::iterator {aka std::_Rb_tree_const_iterator<int>}