Compile Error
foo.cc: In function 'int main()':
foo.cc:14:33: warning: unused variable 'a' [-Wunused-variable]
14 | int p=j,a;
| ^
foo.cc:17:17: error: 'a' was not declared in this scope
17 | a=h[p];
| ^
foo.cc:17:21: error: 'p' was not declared in this scope
17 | a=h[p];
| ^
foo.cc:28:48: error: expected ';' before ')' token
28 | for(int k=j;k<m)
| ^
| ;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 自测
- 题目
- P1016 苹果摘陶陶
- 语言
- C++
- 递交时间
- 2023-08-23 22:38:37
- 评测时间
- 2023-08-23 22:38:37
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes