Compile Error
foo.cc: In function 'void yueseph(int, int, int*, int)': foo.cc:22:11: error: expected ')' before numeric constant if(i==n 1) ^ foo.cc: In function 'int main()': foo.cc:34:15: error: too few arguments to function 'void yueseph(int, int, int*, int)' yueseph(n,k,a); ^ foo.cc:10:6: note: declared here void yueseph(int n,int k, int out[],int ans) ^~~~~~~ foo.cc:32: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 13:59:11
- 评测时间
- 2021-03-22 13:59:11
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes