Problem | conversations_easy |
---|---|
User | Henries |
Submission Time | 2024-11-11 17:22:38 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
conversations_easy.cpp: In function ‘int main()’:
conversations_easy.cpp:23:12: error: no match for ‘operator--’ (operand type is ‘std::unordered_set<long long int>::iterator’ {aka ‘std::__detail::_Node_iterator<long long int, true, false>’})
23 | s.erase(--s.end());
| ^~~~~~~~~
conversations_easy.cpp:27:15: error: no match for ‘operator--’ (operand type is ‘std::unordered_set<long long int>::iterator’ {aka ‘std::__detail::_Node_iterator<long long int, true, false>’})
27 | cout << *(--s.end()) << '\n';
| ^~~~~~~~~