Compile Error
foo.cc: In function 'int main()': foo.cc:3:9: error: 'cin' was not declared in this scope 3 | cin>>xmin>>xmax; | ^~~ foo.cc:15:9: error: 'cout' was not declared in this scope 15 | cout<<sum<<endl; | ^~~~ foo.cc:15:20: error: 'endl' was not declared in this scope 15 | cout<<sum<<endl; | ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- A2-1 循环结构入门:数列求和
- 比赛
- 2024-3-15 信息教师练习赛(2)
- 语言
- C++
- 递交时间
- 2024-03-20 16:02:20
- 评测时间
- 2024-03-20 16:02:20
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes