Problem | firefighting |
---|---|
User | cobnet |
Submission Time | 2023-01-29 13:56:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
firefighting.cpp: In function ‘std::vector<std::pair<int, long long int> > shortestPathList(int, std::vector<std::pair<int, int> >*, int, long long int)’:
firefighting.cpp:69:12: error: a function-definition is not allowed here before ‘{’ token
69 | int main() {
| ^
firefighting.cpp:153:1: error: expected ‘}’ at end of input
153 | }
| ^
firefighting.cpp:39:112: note: to match this ‘{’
39 | vector<pair<int, long long>> shortestPathList(int src, vector<pair<int, int>> adj[], int V, long long max_dist){
| ^