Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:3: error: 'cout' was not declared in this scope cout << "输入大小:" << endl; ^ /in/foo.cc:6:32: error: 'endl' was not declared in this scope cout << "输入大小:" << endl; ^ /in/foo.cc:7:3: error: 'cin' was not declared in this scope cin >> a[m] >> a[m + 1]; ^ /in/foo.cc:21:3: error: 'cout' was not declared in this scope cout << "星星数量:"<<temp << endl; ^ /in/foo.cc:21:38: error: 'endl' was not declared in this scope cout << "星星数量:"<<temp << endl; ^
信息
- 递交者
- 类型
- 递交
- 语言
- C++
- 递交时间
- 2023-01-12 20:02:37
- 评测时间
- 2023-02-20 20:25:10
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes