Compile Error
foo.cc: In function 'int main()': foo.cc:7:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int i=1;i<=n;i++) ^~~ foo.cc:9:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' memset(a,0,sizeof(0)); ^~~~~~ foo.cc:12:15: error: expected primary-expression before ')' token if() ^ foo.cc:14:19: error: 'i' was not declared in this scope if(a[i]>a[j]) ^
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P2423 学生成绩(students)
- 比赛
- 初二数组专练10.29
- 语言
- C++
- 递交时间
- 2021-10-29 21:28:41
- 评测时间
- 2021-10-29 21:28:41
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes