Problem | dijkstra |
---|---|
User | potatocabbage |
Submission Time | 2025-02-13 10:22:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int32_t main()’:
dijkstra.cpp:16:46: error: expected ‘;’ before ‘priority_queue’
16 | for (int x=0; x<v+5; x++) dist[x]=1000000005
| ^
| ;
......
19 | priority_queue<pii, vector<pii>, greater<pii>> yay;
| ~~~~~~~~~~~~~~
dijkstra.cpp:48:2: error: ‘yay’ was not declared in this scope
48 | yay.push(make_pair(currtime, currnode));
| ^~~