| Problem | duckhunt5 |
|---|---|
| User | etetetrr |
| Submission Time | 2026-11-27 15:34:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:15:30: error: cannot convert ‘std::multiset<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’} to ‘long long int’ in assignment
15 | x = C.lower_bound(x);
| ~~~~~~~~~~~~~^~~
| |
| std::multiset<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}
duckhunt5.cpp:16:17: error: no match for ‘operator!=’ (operand types are ‘long long int’ and ‘std::multiset<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’})
16 | if(x!=C.end()){
| ~^~~~~~~~~
| | |
| | std::multiset<long long int>::iterator {aka std::_Rb_tree_const_iterator<long long int>}
| long long int
In file inc