记录详情

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;
        ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Wrong Answer 1ms 224.0 KiB
#3 Wrong Answer 1ms 216.0 KiB
#4 Wrong Answer 1ms 228.0 KiB
#5 Wrong Answer 1ms 212.0 KiB

信息

递交者
类型
递交
题目
3-2 约瑟夫问题
比赛
2021苏青奥赛集训营(春季结业赛)
语言
C++
递交时间
2021-06-06 12:52:32
评测时间
2021-06-06 12:52:39
评测机
分数
20
总耗时
8ms
峰值内存
228.0 KiB