Compile Error
foo.cc: In function ‘int main()’:
foo.cc:23:17: error: ‘sum’ was not declared in this scope
23 | sum++;
| ^~~
foo.cc:9:21: warning: unused variable ‘t’ [-Wunused-variable]
9 | int t=i;
| ^
foo.cc:25:15: error: ‘sum’ was not declared in this scope
25 | cout<<sum;
| ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1061 A5-2 超级素数的个数
- 语言
- C++
- 递交时间
- 2025-08-09 10:50:17
- 评测时间
- 2025-08-09 10:50:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes