Runtime Error
foo.cc: In function 'int main()': foo.cc:25:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(j==tmp) ^~ foo.cc:26:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' a[i]=0,j=0,k--,x=x+1;tmp=b[x]; //当数到目标时,计数才清零。!!!不然,即使内循环结束,j也不清零,累计到下次外循环。 ^~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
信息
- 递交者
- 类型
- 递交
- 题目
- 2-2 约瑟夫问题
- 语言
- C++
- 递交时间
- 2021-03-27 10:50:58
- 评测时间
- 2021-03-27 10:50:58
- 评测机
- 分数
- 80
- 总耗时
- 16ms
- 峰值内存
- 420.0 KiB