记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:10: warning: statement has no effect [-Wunused-value]
   int b;b<=n;b++;
         ~^~~
/in/foo.cc:10:17: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int b;b<=n;b++;
                 ^
/in/foo.cc:8:2: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
  for(int a;a<=n;a++)
  ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 220.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 224.0 KiB
#5 Wrong Answer 1ms 228.0 KiB

信息

递交者
类型
递交
题目
5-1 互质数
比赛
2020苏青奥赛集训营(2021-2-4实验初中选拔赛)
语言
C++
递交时间
2021-02-04 12:36:56
评测时间
2021-02-04 12:36:56
评测机
分数
0
总耗时
6ms
峰值内存
228.0 KiB