Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:9:17: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
    9 |                 for(int j=i;j<=i;i++)
      |                 ^~~
/in/foo.cc:12:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   12 |                         if(sum==2)
      |                         ^~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1001ms ≥480.0 KiB
#2 Time Exceeded ≥1000ms ≥524.0 KiB
#3 Time Exceeded ≥1001ms ≥480.0 KiB
#4 Time Exceeded ≥1001ms ≥324.0 KiB
#5 Time Exceeded ≥1006ms ≥480.0 KiB

信息

递交者
类型
递交
题目
P1027 A3-3 素数专题:素数个数
语言
C++
递交时间
2025-03-08 13:42:39
评测时间
2025-03-08 13:42:39
评测机
分数
0
总耗时
≥5011ms
峰值内存
≥524.0 KiB