| Problem | car |
|---|---|
| User | Usu |
| Submission Time | 2026-02-17 23:03:17 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
car.cpp: In function ‘long long int dijkstra(long long int, long long int)’:
car.cpp:21:28: error: ‘u’ was not declared in this scope
21 | if (currmax > dist[u]) continue;
| ^
car.cpp:22:29: error: ‘u’ was not declared in this scope
22 | for (auto& edge:adj[u]) {
| ^
car.cpp:23:13: error: ‘mx’ was not declared in this scope
23 | mx=max(currmax,edge.second);
| ^~
car.cpp:24:22: error: ‘v’ was not declared in this scope
24 | if (dist[v]>mx) {
| ^
car.cpp:26:32: error: no matching function for call to ‘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> > >::push(<brace-enclosed initializer list>)’
26 | pq