Problem heatwv
User astranger
Submission Time 2023-01-16 14:39:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

heatwv.cpp: In function ‘int32_t main()’:
heatwv.cpp:19:63: error: template argument 1 is invalid
19 | priority_queue(pair<int,int>, vector<pair<int,int>>, greater<pair<int,int>) pq;
| ^~~~~~~~~~~~~
heatwv.cpp:19:76: error: class template argument deduction failed:
19 | priority_queue(pair<int,int>, vector<pair<int,int>>, greater<pair<int,int>) pq;
| ^
heatwv.cpp:19:76: error: no matching function for call to ‘priority_queue()’
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from heatwv.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:692:5: note: candidate: ‘template<class _Compare, class _Container, class, class> std::priority_queue(_Compare, _Contai