Problem | firefighting |
---|---|
User | cobnet |
Submission Time | 2023-01-29 02:29:29 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
firefighting.cpp:17:19: error: invalid declarator before ‘city_dist_table’
17 | vector<city_dist> city_dist_table;
| ^~~~~~~~~~~~~~~
firefighting.cpp: In function ‘long long int shortestPath(int, int, std::vector<std::pair<int, int> >*, int)’:
firefighting.cpp:26:20: error: ‘city_dist_table’ was not declared in this scope
26 | for (int i=0; i < city_dist_table.size(); i++) {
| ^~~~~~~~~~~~~~~
firefighting.cpp:56:3: error: ‘city_dist_table’ was not declared in this scope
56 | city_dist_table.push_back[cd1];
| ^~~~~~~~~~~~~~~