0_0_17928116_26248.cpp: In function 'int main()': 0_0_17928116_26248.cpp:64:32: error: too many arguments to function 'int dfs(int, int)' printf("%d\n",dfs(p,q,0)); ^ 0_0_17928116_26248.cpp:7:5: note: declared here int dfs(int p, int q) ^