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

Compile Error

firefighting.cpp: In function ‘int main()’:
firefighting.cpp:70:57: error: too many arguments to function ‘long long int shortestPath(int, int, std::vector<std::pair<int, int> >*, int)’
70 | long long dist = shortestPath(j, i, adj, N, mindist);
| ^
firefighting.cpp:16:11: note: declared here
16 | long long shortestPath(int src, int dest, vector<pair<int, int>> adj[], int V){
| ^~~~~~~~~~~~