| Problem | car |
|---|---|
| User | Usu |
| Submission Time | 2026-02-17 23:06:59 |
| 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:8:22: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
8 | vector<int> dist(n, INF);
| ^
| yn
car.cpp:20:25: error: ‘adj’ was not declared in this scope
20 | for (auto& edge:adj[node]) {
| ^~~
car.cpp:24:41: 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>)’
24 | pq.push({mx, edge.first});
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
fro