Accepted

foo.cc: In function ‘bool s(int)’:
foo.cc:7:9: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
    7 |         for(int i=2;i*i<=n;i++)
      |         ^~~
foo.cc:9:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
    9 |                 return true;
      |                 ^~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 504.0 KiB
#2 Accepted 2ms 504.0 KiB
#3 Accepted 2ms 504.0 KiB
#4 Accepted 3ms 504.0 KiB

信息

递交者
类型
递交
题目
P2601 绝对素数 4级1 2023样卷
比赛
2025.7.20中级班练习
语言
C++
递交时间
2025-07-21 09:04:51
评测时间
2025-07-21 09:04:51
评测机
分数
100
总耗时
11ms
峰值内存
504.0 KiB