Compile Error
foo.cc: In function 'int main()': foo.cc:13:16: warning: left operand of comma operator has no effect [-Wunused-value] for(int j=l;i<r,j++) ~^~ foo.cc:13:22: error: expected ';' before ')' token for(int j=l;i<r,j++) ^ foo.cc:14:8: warning: statement has no effect [-Wunused-value] a[j]==1; ~~~~^~~ foo.cc:16:2: error: 'sort' was not declared in this scope sort(a,a+1000); ^~~~ foo.cc:16:2: note: suggested alternative: 'qsort' sort(a,a+1000); ^~~~ qsort
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1274 闭区间并
- 比赛
- 2021苏青奥赛集训营(2021/7/17训练赛)
- 语言
- C++
- 递交时间
- 2021-07-17 11:18:15
- 评测时间
- 2021-07-17 11:18:15
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes