Problem makingparallelograms
User Hengweezy
Submission Time 2024-01-31 17:05:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

makingparallelograms.cpp: In function ‘int main()’:
makingparallelograms.cpp:19:16: error: no match for ‘operator[]’ (operand types are ‘std::_Rb_tree_iterator<std::pair<const int, int> >’ and ‘int’)
19 | pairs += *cur[1] /2;
| ^