Compile Error
foo.cc:4:8: error: array bound is not an integer constant before ']' token
4 | int a[i];
| ^
foo.cc: In function 'int main()':
foo.cc:11:8: error: 'a' was not declared in this scope
11 | cin>>a[i]
| ^
foo.cc:7:10: warning: unused variable 'i' [-Wunused-variable]
7 | int b,c,i;
| ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- 6-1 和为定值的数对
- 比赛
- 2022暑期青少年社团(训练赛)
- 语言
- C++
- 递交时间
- 2022-08-07 19:55:23
- 评测时间
- 2022-08-07 19:55:23
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes