toy.cpp:4:33: error: expected ',' or '...' before 'int'
void dfs (int a, vector <int> v int s)
^~~
toy.cpp: In function 'void dfs(int, std::vector<int>)':
toy.cpp:9:17: error: too many arguments to function 'void dfs(int, std::vector<int>)'
dfs(a/m,v,m-1);
^
toy.cpp:4:6: note: declared here
void dfs (int a, vector <int> v int s)
^~~
toy.cpp: In function 'int main()':
toy.cpp:26:11: error: too many arguments to function 'void dfs(int, std::vector<int>)'
dfs(n,v,0);
^
toy.cpp:4:6: note: declared here
void dfs (int a, vector <int> v int s)
^~~