| Problem | dijkstra |
|---|---|
| User | YellowPurpleDragon |
| Submission Time | 2025-02-14 21:56:16 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:41:5: error: ‘class std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > >’ has no member named ‘erase’
41 | h.erase(h.begin());
| ^~~~~
dijkstra.cpp:41:13: error: ‘class std::priority_queue<std::pair<long long int, long long int>, std::vector<std::pair<long long int, long long int> >, std::greater<std::pair<long long int, long long int> > >’ has no member named ‘begin’
41 | h.erase(h.begin());
| ^~~~~