Problem deforestation
User ybc
Submission Time 2023-11-27 13:49:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deforestation.cpp: In function ‘int main()’:
deforestation.cpp:17:6: error: no match for ‘operator[]’ (operand types are ‘std::multiset<std::pair<long long int, long long int> >’ and ‘long long int’)
17 | myms[a].first+=(*it2).second;
| ^