Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:8:6: warning: variable 'a' set but not used [-Wunused-but-set-variable] int a[n],k,out[n]; ^ /in/foo.cc:8:11: warning: unused variable 'k' [-Wunused-variable] int a[n],k,out[n]; ^ /in/foo.cc:8:13: warning: unused variable 'out' [-Wunused-variable] int a[n],k,out[n]; ^~~ /in/foo.cc:23:8: warning: 'ans' may be used uninitialized in this function [-Wmaybe-uninitialized] cout<<ans<<endl; ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- 3-2 约瑟夫问题
- 比赛
- 2021苏青奥赛集训营(春季结业赛)
- 语言
- C++
- 递交时间
- 2021-06-06 12:52:32
- 评测时间
- 2021-06-06 12:52:39
- 评测机
- 分数
- 20
- 总耗时
- 8ms
- 峰值内存
- 228.0 KiB