0_0_29889872_10511.cpp: In function 'int dfs(int)':
0_0_29889872_10511.cpp:22:5: error: 'col' was not declared in this scope
if(col==0)
^
0_0_29889872_10511.cpp:26:32: error: too many arguments to function 'int dfs(int)'
f[x][col]+=max(dfs(e[i].to,1),dfs(e[i].to,0));
^
0_0_29889872_10511.cpp:19:5: note: declared here
int dfs(int x)
^
0_0_29889872_10511.cpp:26:47: error: too many arguments to function 'int dfs(int)'
f[x][col]+=max(dfs(e[i].to,1),dfs(e[i].to,0));
^
0_0_29889872_10511.cpp:19:5: note: declared here
int dfs(int x)
^
0_0_29889872_10511.cpp:33:28: error: too many arguments to function 'int dfs(int)'
f[x][col]+=dfs(e[i].to,0);
^
0_0_29889872_10511.cpp:19:5: note: declared here
int dfs(int x)
^
0_0_29889872_10511.cpp:37:14: error: 'col' was not declared in this scope
return f[x][col];
^
|