Problem cakerun
User itsLQ
Submission Time 2024-06-05 17:13:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cakerun.cpp: In function β€˜int main()’:
cakerun.cpp:50:39: error: no match for call to β€˜(std::_Rb_tree_const_iterator<std::pair<int, int> >) (bool)’
50 | it (it != ranges.end()) cakes[it -> second].erase(it -> first);
| ^