Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:17:7: error: 'cout' was not declared in this scope cout<<left<<setw(4); ^~~~ /in/foo.cc:17:13: error: 'left' was not declared in this scope cout<<left<<setw(4); ^~~~ /in/foo.cc:17:25: error: 'setw' was not declared in this scope cout<<left<<setw(4); ^ /in/foo.cc:18:35: error: 'endl' was not declared in this scope cout<<hen<<setw(4)<<rabbit<<endl; ^~~~ /in/foo.cc:6:13: warning: unused variable 'hen' [-Wunused-variable] int rabbit,hen;//数量 ^~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1056 鸡兔同笼
- 语言
- C++
- 递交时间
- 2021-12-25 13:02:02
- 评测时间
- 2021-12-25 13:02:02
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes