Compile Error

/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
      |         ^

信息

递交者
类型
递交
题目
P1010 活动选择 (act)
语言
C++
递交时间
2025-03-09 10:47:21
评测时间
2025-03-09 10:47:21
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes