Problem promotion
User LCJLY
Submission Time 2023-01-14 11:56:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

promotion.cpp: In function ‘void dfs(long long int)’:
promotion.cpp:44:21: error: too many arguments to function ‘void dfs(long long int)’
44 | dfs(it,index);
| ^
promotion.cpp:41:6: note: declared here
41 | void dfs(int index){
| ^~~