/in/foo.cc: In function 'void game(int, int, int)':
/in/foo.cc:7:13: error: too few arguments to function 'void game(int, int, int)'
7 | game(n-a);k++;
| ~~~~^~~~~
/in/foo.cc:4:6: note: declared here
4 | void game(int n,int k,int g)
| ^~~~
/in/foo.cc:8:16: error: 'd' was not declared in this scope
8 | game(n-d);g++;
| ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:13: error: too few arguments to function 'void game(int, int, int)'
15 | game(n);
| ~~~~^~~
/in/foo.cc:4:6: note: declared here
4 | void game(int n,int k,int g)
| ^~~~
/in/foo.cc:16:9: error: 'f' was not declared in this scope
16 | f
| ^