Compile Error
foo.cc: In function 'int main()':
foo.cc:7:9: error: 'cin' was not declared in this scope
7 | cin>>a;
| ^~~
foo.cc:8:15: error: 'add' was not declared in this scope
8 | int c=add(b);
| ^~~
foo.cc:11:17: error: 'cout' was not declared in this scope
11 | cout<<c<<endl;
| ^~~~
foo.cc:11:26: error: 'endl' was not declared in this scope
11 | cout<<c<<endl;
| ^~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- A3-1 素数专题:因子的和
- 比赛
- 2023年新生赛(第一场)
- 语言
- C++
- 递交时间
- 2023-08-15 17:22:08
- 评测时间
- 2023-08-15 17:22:08
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes