记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   if(num%i==0)
   ^~
/in/foo.cc:13:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
    break;
    ^~~~~
/in/foo.cc:7:6: warning: unused variable 'sum' [-Wunused-variable]
  int sum=0;
      ^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 360.0 KiB
#2 Wrong Answer 1ms 400.0 KiB
#3 Accepted 1ms 376.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 356.0 KiB

信息

递交者
类型
递交
题目
A3-2 素数专题:素数判断
语言
C++
递交时间
2024-03-22 12:00:12
评测时间
2024-03-22 12:00:12
评测机
分数
80
总耗时
7ms
峰值内存
400.0 KiB