| Problem | deforestation |
|---|---|
| User | Tyx2019 |
| Submission Time | 2023-11-21 20:16:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
deforestation.cpp: In function ‘int32_t main()’:
deforestation.cpp:23:93: error: template argument 3 is invalid
23 | priority_queue<pair<int,int>,vector<pair<int,int>>,comp(pair<int,int>,pair<int,int>)> pq(comp);
| ^
deforestation.cpp:23:98: error: invalid conversion from ‘bool (*)(std::pair<int, int>, std::pair<int, int>)’ to ‘int’ [-fpermissive]
23 | priority_queue<pair<int,int>,vector<pair<int,int>>,comp(pair<int,int>,pair<int,int>)> pq(comp);
| ^~~~
| |
|