记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:11:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   11 |                 if(num%i==0)
      |                 ^~
foo.cc:13:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   13 |                         break;
      |                         ^~~~~
foo.cc:7:13: warning: unused variable 'sum' [-Wunused-variable]
    7 |         int sum=0;
      |             ^~~
# 状态 耗时 内存占用
#1 Wrong Answer Read Yes, expect No. 3ms 764.0 KiB
#2 Wrong Answer Read Yes, expect No. 3ms 320.0 KiB
#3 Accepted 2ms 768.0 KiB
#4 Accepted 2ms 320.0 KiB
#5 Accepted 2ms 536.0 KiB

信息

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