Compile Error
foo.cc: In function 'int main()': foo.cc:12:24: error: 'n' was not declared in this scope 12 | for(int i=1;i<=n-1;i++){ | ^ foo.cc:15:49: error: expected ')' before ';' token 15 | swap(a[j],a[j+1]; | ~ ^ | )
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1291 苹果摘陶陶
- 语言
- C++
- 递交时间
- 2022-08-22 11:51:24
- 评测时间
- 2022-08-22 11:51:24
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes