Problem heatwv
User CKCodeBreaker55
Submission Time 2025-04-24 14:38:06
Score 0
Max Time N/A
Max Memory N/A

Compile Error

heatwv.cpp: In function ‘void bellman_ford()’:
heatwv.cpp:9:2: error: ‘dist’ was not declared in this scope
9 | dist[TS - 1] = 0;
| ^~~~
heatwv.cpp:12:17: error: ‘edges’ was not declared in this scope
12 | for (auto j : edges)
| ^~~~~
heatwv.cpp: In function ‘int main()’:
heatwv.cpp:21:35: error: template argument 1 is invalid
21 | vector<pair<int, pair<int, int>> edges;
| ^~~~~
heatwv.cpp:21:35: error: template argument 2 is invalid
heatwv.cpp:36:3: error: ‘edges’ was not declared in this scope
36 | edges.push_back(p);
| ^~~~~