Problem | dijkstra |
---|---|
User | Curiocodeexplorer |
Submission Time | 2023-11-16 10:00:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:7:7: error: ‘snyc_with_studio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
7 | ios::snyc_with_studio(0);cin.tie(0);
| ^~~~~~~~~~~~~~~~
dijkstra.cpp:14:76: error: template argument 2 is invalid
14 | priority_queue<pair <int,int>,vector<pair<int,int>,greater<pair<int,int>>>pq;
| ^~
dijkstra.cpp:14:76: error: template argument 3 is invalid
dijkstra.cpp:17:2: error: ‘pq’ was not declared in this scope
17 | pq.push({0,1});
| ^~
dijkstra.cpp:22:16: error: ‘node’ was not declared in this scope
22 | if (d!= dist[node])continue;
| ^~~~
dijkstra.cpp:23:23: error: ‘node’ was not declared in this scope
23 | for(auto i: adjlist[node]){
| ^~~~
dijkstra.cpp:26:44: error: expec