| Problem | duckhunt5 |
|---|---|
| User | ethantanaki |
| Submission Time | 2026-05-16 09:24:59 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
duckhunt5.cpp: In function ‘int main()’:
duckhunt5.cpp:23:26: error: could not convert ‘(a = ms.std::multiset<int>::end())’ from ‘std::multiset<int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<int>’} to ‘bool’
23 | for(a = ms.begin(); a = ms.end(); a++) {
| ~~^~~~~~~~~~
| |
| std::multiset<int>::iterator {aka std::_Rb_tree_const_iterator<int>}