0_0_26510667_24722.cpp: In function 'int main()': 0_0_26510667_24722.cpp:66:17: error: too many arguments to function 'void dfs(int)' dfs(1,-1); ^ 0_0_26510667_24722.cpp:27:6: note: declared here void dfs(int u) ^