| Problem | candyshop |
|---|---|
| User | ForgottenDragon |
| Submission Time | 2025-12-17 15:55:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
candyshop.cpp: In function ‘void dfs(long long int)’:
candyshop.cpp:18:30: error: invalid use of member function ‘std::set<_Key, _Compare, _Alloc>::reverse_iterator std::set<_Key, _Compare, _Alloc>::rbegin() const [with _Key = long long int; _Compare = std::less<long long int>; _Alloc = std::allocator<long long int>; std::set<_Key, _Compare, _Alloc>::reverse_iterator = std::reverse_iterator<std::_Rb_tree_const_iterator<long long int> >]’ (did you forget the ‘()’ ?)
18 | s[x].erase(*s[x].rbegin);
| ~~~~~^~~~~~
| ()