Problem | dijkstra |
---|---|
User | MagicHenry |
Submission Time | 2024-05-05 13:42:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp:5:1: error: ‘priority_que’ does not name a type
5 | priority_que<pi,vector<pi>,greater<pi>> pq;
| ^~~~~~~~~~~~
dijkstra.cpp: In function ‘void dijkstra(int)’:
dijkstra.cpp:11:2: error: ‘pq’ was not declared in this scope; did you mean ‘pi’?
11 | pq.push(make_pair(0,n));
| ^~
| pi
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:27:7: error: ‘n’ was not declared in this scope
27 | cin>>n>>E;
| ^