Problem firefighting
User cobnet
Submission Time 2023-01-29 13:58:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

firefighting.cpp: In function ‘int main()’:
firefighting.cpp:98:80: error: too few arguments to function ‘std::vector<std::pair<int, long long int> > shortestPathList(int, std::vector<std::pair<int, int> >*, int, long long int)’
98 | vector<pair<int, long long>> citydistlist = shortestPathList(i, adj, N);
| ^
firefighting.cpp:39:30: note: declared here
39 | vector<pair<int, long long>> shortestPathList(int src, vector<pair<int, int>> adj[], int V, long long max_dist){
| ^~~~~~~~~~~~~~~~