Problem dijkstra
User SioHuang
Submission Time 2023-11-16 10:46:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:14:24: error: ‘long long int’ is not a class, struct, or union type
14 | priority_queue<int,int>, vector<pair<int,int>>, greater<pair<int,int>>>pq;
| ^
dijkstra.cpp:14:24: error: template argument 3 is invalid
dijkstra.cpp:14:25: error: expected unqualified-id before ‘,’ token
14 | priority_queue<int,int>, vector<pair<int,int>>, greater<pair<int,int>>>pq;
| ^
dijkstra.cpp:14:48: error: invalid declarator before ‘,’ token
14 | priority_queue<int,int>, vector<pair<int,int>>, greater<pair<int,int>>>pq;
| ^
dijkstra.cpp:14:72: error: invalid declarator before ‘>’ token
14 | priority_queue<int,int>, vector<pair<int,int>>, greater<pair<int,int>>>