Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:6:7: error: expected unqualified-id before 'int' int n,int i; ^~~ /in/foo.cc: In function 'void Output()': /in/foo.cc:16:16: error: 'n' was not declared in this scope for(int i=0;i<n;i++) ^ /in/foo.cc:17:7: error: 'a' was not declared in this scope cout<<a[i]<<" "; ^
信息
- 递交者
- 类型
- 递交
- 题目
- A7-1 数组的输出函数
- 语言
- C++
- 递交时间
- 2019-09-27 13:13:52
- 评测时间
- 2019-09-27 13:13:52
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes