Compile Error
foo.cc: In function 'int main()': foo.cc:8:7: error: 'i' was not declared in this scope 8 | for(i=1;i<=n;i++) | ^ foo.cc:19:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 19 | if(sum=n) | ~~~^~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1116 找满足条件的素数(1)
- 语言
- C++
- 递交时间
- 2022-06-05 11:38:23
- 评测时间
- 2022-06-05 11:38:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes