Accepted
/in/foo.cc: In function 'int main()': /in/foo.cc:12:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(cj[im]<cj[j]||cj[im]==cj[j]&&hm[im]>hm[j]){ ~~~~~~~~~~~~~^~~~~~~~~~~~~~ /in/foo.cc:11:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(int j=i+1;j<=n;j++) ^~~ /in/foo.cc:15:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' swap(cj[i],cj[im]); ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- P1461 分数线划定
- 比赛
- 2024.8.2暑期中级2班练习
- 语言
- C++
- 递交时间
- 2024-08-03 09:28:47
- 评测时间
- 2024-08-03 09:28:47
- 评测机
- 分数
- 100
- 总耗时
- 50ms
- 峰值内存
- 452.0 KiB