Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   11 |                         if(b%c==0)
      |                         ^~
/in/foo.cc:13:33: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   13 |                                 c++;
      |                                 ^
/in/foo.cc:15:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
   15 |                 if(c==b)
      |                 ^~
/in/foo.cc:17:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
   17 |                         c=2;
      |                         ^
# 状态 耗时 内存占用
#1 Accepted 1ms 484.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 1ms 540.0 KiB
#4 Accepted 17ms 536.0 KiB
#5 Accepted 58ms 528.0 KiB

信息

递交者
类型
递交
题目
P1027 A3-3 素数专题:素数个数
语言
C++
递交时间
2025-12-17 21:29:29
评测时间
2025-12-17 21:29:29
评测机
分数
100
总耗时
82ms
峰值内存
540.0 KiB