Compile Error
foo.cc: In function 'int main()': foo.cc:6:2: error: 'cin' was not declared in this scope cin>>x; ^~~ foo.cc:6:2: note: suggested alternative: 'main' cin>>x; ^~~ main foo.cc:9:3: error: 'cout' was not declared in this scope cout<<x+y<<endl; ^~~~ foo.cc:9:14: error: 'endl' was not declared in this scope cout<<x+y<<endl; ^~~~ foo.cc:9:14: note: suggested alternative: 'enum' cout<<x+y<<endl; ^~~~ enum
信息
- 递交者
- 类型
- 递交
- 题目
- P1209 C3 互质数的对数
- 比赛
- 2020苏青奥赛集训营(2021-1-30课堂小练)
- 语言
- C++
- 递交时间
- 2021-01-30 20:15:51
- 评测时间
- 2021-01-30 20:15:51
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes