Compile Error
/in/foo.cc:3:12: error: array bound is not an integer constant before ']' token int n,a[n+1],sum1,sum2; ^ /in/foo.cc: In function 'int main()': /in/foo.cc:8:8: error: 'a' was not declared in this scope cin>>a[i]; ^ /in/foo.cc:14:8: error: 'a' was not declared in this scope cin>>a[i]; ^
信息
- 递交者
- 类型
- 自测
- 语言
- C++
- 递交时间
- 2025-01-21 20:34:17
- 评测时间
- 2025-01-21 20:34:17
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes