Problem deforestation
User ybc
Submission Time 2023-11-27 18:03:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

deforestation.cpp: In function ‘int main()’:
deforestation.cpp:15:6: error: no match for ‘operator[]’ (operand types are ‘std::set<std::pair<long long int, long long int> >’ and ‘int’)
15 | myset[i] = make_pair(a,b);
| ^