Problem | dijkstra |
---|---|
User | Anonymous35V |
Submission Time | 2023-11-16 09:47:27 |
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: ‘sync_with_studio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
7 | ios::sync_with_studio(0);cin.tie(0)
| ^~~~~~~~~~~~~~~~
dijkstra.cpp:7:37: error: expected ‘;’ before ‘long’
7 | ios::sync_with_studio(0);cin.tie(0)
| ^
| ;
dijkstra.cpp:9:5: error: expected ‘;’ before ‘v’
9 | cin v>>e;
| ^~
| ;
dijkstra.cpp:10:20: error: ‘e’ was not declared in this scope
10 | for (int i = 0; i<e; i++);{
| ^
dijkstra.cpp:12:6: error: expected ‘;’ before ‘x’
12 | cin x>>y>w;
| ^~
| ;
dijkstra.cpp:15:77: error: template argument 3 is invalid
15 | priority_queue<pair<int,int>, vector <pair<int,int>>,greater<pair<int,int>>pq;<