Problem bobek
User hithere123
Submission Time 2025-01-14 12:04:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bobek.cpp: In function ‘void dfs(int, long long int, long long int*)’:
bobek.cpp:13:51: error: too few arguments to function ‘void dfs(int, long long int, long long int*)’
13 | dfs(i, total_cost + matchPrices[index]);
| ^
bobek.cpp:9:6: note: declared here
9 | void dfs(int index, long long total_cost, long long matchPrices[]){
| ^~~