Problem | deforestation |
---|---|
User | Tyx2019 |
Submission Time | 2023-11-21 20:16:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
deforestation.cpp: In function ‘int32_t main()’:
deforestation.cpp:23:91: error: wrong number of template arguments (4, should be at least 1)
23 | priority_queue<pair<int,int>,vector<pair<int,int>>,comp<pair<int,int>,pair<int,int>>> pq(comp);
| ^~
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from deforestation.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:443:11: note: provided for ‘template<class _Tp, class _Sequence, class _Compare> class std::priority_queue’
443 | class priority_queue
| ^~~~~~~~~~~~~~
deforestation.cpp:23:93: error: expected unqualified-id before ‘>’ token
23 | priority_queue<pair<int,int>,vector<pair<int,int>>,comp<pair<int,