Problem towerdefense
User PlayVoltz
Submission Time 2023-09-18 21:24:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

towerdefense.cpp: In function ‘long long int towerdefense(long long int, long long int)’:
towerdefense.cpp:36:53: error: too many arguments to function ‘long long int towerdefense(long long int, long long int)’
36 | sum+=towerdefense(num.first, dist+num.second, node);
| ^
towerdefense.cpp:31:5: note: declared here
31 | int towerdefense(int node, int dist){
| ^~~~~~~~~~~~