| Problem | dijkstra |
|---|---|
| User | Hapi |
| Submission Time | 2026-11-05 14:56:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
dijkstra.cpp:3:12: error: expected unqualified-id before numeric constant
3 | #define ll 4 4
| ^
dijkstra.cpp:6:5: note: in expansion of macro ‘ll’
6 | ll w;
| ^~
dijkstra.cpp: In function ‘int main()’:
dijkstra.cpp:3:14: error: expected ‘;’ before numeric constant
3 | #define ll 4 4
| ^
dijkstra.cpp:16:9: note: in expansion of macro ‘ll’
16 | ll w;
| ^~
dijkstra.cpp:17:26: error: ‘w’ was not declared in this scope
17 | cin >> x >> y >> w;
| ^
dijkstra.cpp:18:30: error: no matching function for call to ‘std::vector<Edge>::push_back(<brace-enclosed initializer list>)’
18 | g[x].push_back({y, w});
| ^
In file included from /usr/include/c++/9/vector:67,
from /usr/include/c++/9/functional:62,