Accepted
foo.cc: In function 'bool cp(zy, zy)':
foo.cc:10:30: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
return a.nd>b.nd||a.nd==b.nd&&a.xh<b.xh;
~~~~~~~~~~^~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:20:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=p;i<=q;i++)
^~~
foo.cc:22:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
return 0;
^~~~~~
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 题目
- P1900 假期作业
- 语言
- C++
- 递交时间
- 2021-10-10 10:37:52
- 评测时间
- 2021-10-10 10:37:52
- 评测机
- 分数
- 100
- 总耗时
- 680ms
- 峰值内存
- 2.719 MiB