Problem dijkstra
User Daddy
Submission Time 2024-05-11 20:01:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:6:62: error: expected primary-expression before ‘)’ token
6 | vector <vector<pair<int, int>>>adjL(V, vector<pair<int,int>>);
| ^
dijkstra.cpp:16:75: error: template argument 3 is invalid
16 | priority_queue<pair<int,int>,vector<pair<int,int>>,greater<pair<int,int>>pq;
| ^~
dijkstra.cpp:18:2: error: ‘pq’ was not declared in this scope
18 | pq.push(make_pair(0,Ts-1));
| ^~
dijkstra.cpp:23:15: error: ‘fist’ was not declared in this scope; did you mean ‘dist’?
23 | if(c.first!=fist[c.second]) continue;
| ^~~~
| dist
dijkstra.cpp:24:7: error: declaration of ‘auto i’ has no initializer
24 | for(auto i;adjL[c.second]){