Compile Error
foo.cc:3:7: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
3 | int a[n];
| ^
| yn
foo.cc: In function ‘int main()’:
foo.cc:9:22: error: ‘a’ was not declared in this scope
9 | cin>>a[i];
| ^
foo.cc:11:23: error: ‘a’ was not declared in this scope
11 | cout<<a[i]<<' ';
| ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1003 1.6.4数组逆序重放
- 语言
- C++
- 递交时间
- 2025-04-06 21:22:48
- 评测时间
- 2025-04-06 21:22:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes