记录详情

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 332.0 KiB
#2 Wrong Answer 1ms 340.0 KiB
#3 Accepted 1ms 344.0 KiB
#4 Accepted 1ms 376.0 KiB
#5 Accepted 1ms 340.0 KiB

信息

递交者
类型
递交
题目
A3-2 素数专题:素数判断
比赛
2024-3-15 信息教师练习赛(2)
语言
C++
递交时间
2024-03-16 16:30:19
评测时间
2024-03-16 18:47:05
评测机
分数
80
总耗时
7ms
峰值内存
376.0 KiB