Main.cc: In function ‘void dfs(int, int, int)’: Main.cc:17:3: error: expected ‘;’ before ‘dfs’ dfs(i+1,wi+w[i],vi+v[i]); ^~~