/in/foo.cc: In function 'void dfs(int, int, int)':
/in/foo.cc:36:22: error: too few arguments to function 'void dfs(int, int, int)'
if(x<k)dfs(x+1,dep+1);
^
/in/foo.cc:12:6: note: declared here
void dfs(int x,int dep,int less){
^~~
/in/foo.cc:37:22: error: too few arguments to function 'void dfs(int, int, int)'
if(x>0)dfs(x-1,dep+1);
^
/in/foo.cc:12:6: note: declared here
void dfs(int x,int dep,int less){
^~~
/in/foo.cc:38:30: error: too few arguments to function 'void dfs(int, int, int)'
if(x<k && v==0)dfs(x+x,dep+1);
^
/in/foo.cc:12:6: note: declared here
void dfs(int x,int dep,int less){
^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:45:9: error: too few arguments to function 'void dfs(int, int, int)'
dfs(n,0);
^
/in/foo.cc:12:6: note: declared here
void dfs(int x,int dep,int less){
^~~