记录详情

Compile Error

foo.cc: In function 'int main()':
foo.cc:12:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
   12 |         for(int i=2;i<=n;i++)
      |         ^~~
foo.cc:15:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
   15 |                 if(i==n)
      |                 ^~
foo.cc:15:20: error: 'i' was not declared in this scope
   15 |                 if(i==n)
      |                    ^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
A5-2 超级素数的个数
语言
C++
递交时间
2023-11-02 14:36:29
评测时间
2023-11-02 14:36:29
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes