foo.cc: In function 'bool cmp(two, two)':
foo.cc:10:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
10 | return a.h<b.h||a.h==b.h&&a.s>b.s;
| ~~~~~~~~^~~~~~~~~
foo.cc: At global scope:
foo.cc:56:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
56 | main()
| ^
foo.cc: In function 'int main()':
foo.cc:58:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
58 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
foo.cc:62:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
62 | scanf("%lld%lld%lld%lld",&a,&b,&x,&y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务