Wrong Answer

foo.cc: In function 'bool cp(st, st)':
foo.cc:23:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   23 |  return x.c<y.c||x.c==y.c&&x.a<y.a||x.c==y.c&&x.a==y.a&&x.b<y.b;
      |                  ~~~~~~~~^~~~~~~~~
foo.cc:23:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   23 |  return x.c<y.c||x.c==y.c&&x.a<y.a||x.c==y.c&&x.a==y.a&&x.b<y.b;
      |                                     ~~~~~~~~~~~~~~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#2 Wrong Answer User output longer than standard answer. 5ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1274 5-2 编程题
语言
C++
递交时间
2022-01-01 17:58:52
评测时间
2022-01-01 17:58:52
评测机
分数
0
总耗时
14ms
峰值内存
384.0 KiB