foo.cc: In function 'bool cmp1(yy, yy)':
foo.cc:22:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
22 | return a.b>b.b||a.b==b.b&&a.a<b.a;
| ~~~~~~~~^~~~~~~~~
foo.cc: In function 'bool cmp2(zz, zz)':
foo.cc:26:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
26 | return a.f>b.f||a.f==b.f&&a.e<b.e;
| ~~~~~~~~^~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:51:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
51 | for(i=1;i<=k;i++)cout<<q1[i].a<<" ";cout<<endl;
| ^~~
foo.cc:51:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
51 | for(i=1;i<=k;i++)cout<<q1[i].a<<" ";cout<<endl;
| ^~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务