Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:5:5: error: 'cin' was not declared in this scope cin >> n; ^~~ /in/foo.cc:5:5: note: suggested alternative: In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0, from /in/foo.cc:1: /usr/include/c++/6/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^~~ /in/foo.cc:11:16: error: 'Output' was not declared in this scope Output(a, n); ^
信息
- 递交者
- 类型
- 递交
- 题目
- A7-1 数组的输出函数
- 比赛
- 2023 程序设计与基础(单个的数组)
- 语言
- C++
- 递交时间
- 2023-11-21 14:43:41
- 评测时间
- 2023-11-21 14:43:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes