Compile Error
foo.cc: In function 'int main()': foo.cc:8:2: error: expected initializer before 'for' 8 | for(int i=0;i<10;i++){ | ^~~ foo.cc:8:14: error: 'i' was not declared in this scope 8 | for(int i=0;i<10;i++){ | ^ foo.cc:11:7: error: 'a' was not declared in this scope 11 | sort(a,a+10); | ^ foo.cc:11:2: error: 'sort' was not declared in this scope; did you mean 'qsort'? 11 | sort(a,a+10); | ^~~~ | qsort
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1105 学号问题3
- 语言
- C++
- 递交时间
- 2022-02-10 16:31:48
- 评测时间
- 2022-02-10 16:31:48
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes