记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(x1%i==0)
    ^~
/in/foo.cc:13:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     cnt++;
     ^~~
/in/foo.cc:20:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    if(x2%1==0)
    ^~
/in/foo.cc:22:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     cnt++;
     ^~~
/in/foo.cc:5:8: warning: 'cnt' may be used uninitialized in this function [-Wmaybe-uninitialized]
  int x,cnt;
        ^~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Wrong Answer 1ms 228.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 232.0 KiB
#5 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
题目
P1210 C4 验证哥德巴赫猜想的加式的个数
语言
C++
递交时间
2021-02-18 20:36:48
评测时间
2021-02-18 20:36:48
评测机
分数
0
总耗时
6ms
峰值内存
232.0 KiB