记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:33:15: error: too few arguments to function 'void yueseph(int, int, int*, int)'
  yueseph(n,k,a);
               ^
foo.cc:9:6: note: declared here
 void yueseph(int n,int k, int out[],int ans)
      ^~~~~~~
foo.cc:34:13: error: too few arguments to function 'void Output(int*, int, int)'
  Output(a, n);
             ^
foo.cc:4:6: note: declared here
 void Output(int a[], int n,int ans)
      ^~~~~~
foo.cc:31:16: warning: unused variable 'ans' [-Wunused-variable]
  int n=10, k=7,ans;
                ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。

信息

递交者
类型
自测
题目
2-2 约瑟夫问题
语言
C++
递交时间
2021-03-22 14:00:22
评测时间
2021-03-22 14:00:22
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes