Compile Error
/in/foo.cc: In function 'int main(int, char**)': /in/foo.cc:12:2: error: 'cin' was not declared in this scope cin>>n; ^~~ /in/foo.cc:15:3: error: 'cout' was not declared in this scope cout<<tim+1<<endl; ^~~~ /in/foo.cc:15:16: error: 'endl' was not declared in this scope cout<<tim+1<<endl; ^~~~ /in/foo.cc:17:3: error: 'cout' was not declared in this scope cout<<tim+2<<endl; ^~~~ /in/foo.cc:17:16: error: 'endl' was not declared in this scope cout<<tim+2<<endl; ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- xxyw1-3快乐数
- 比赛
- 小兰赛3-17
- 语言
- C++
- 递交时间
- 2019-03-17 09:05:30
- 评测时间
- 2019-03-17 09:05:30
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes