0_0_28275197_26748.cpp: In function 'void dfs(int)': 0_0_28275197_26748.cpp:33:13: error: too many arguments to function 'void dfs(int)' dfs(y, x); ^ 0_0_28275197_26748.cpp:25:6: note: declared here void dfs(int x) { ^