Wrong Answer

/in/foo.cc: In function 'bool cp(st, st)':
/in/foo.cc:26:26: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  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;
                  ~~~~~~~~^~~~~~~~~
/in/foo.cc:26:55: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  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;
                                     ~~~~~~~~~~~~~~~~~~^~~~~~~~~
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 412.0 KiB
#2 Wrong Answer 2ms 1.051 MiB
#3 Wrong Answer 2ms 324.0 KiB
#4 Wrong Answer 2ms 400.0 KiB
#5 Wrong Answer 2ms 352.0 KiB

信息

递交者
类型
递交
题目
P1274 5-2 编程题
语言
C++
递交时间
2022-01-01 18:02:40
评测时间
2022-01-01 18:02:40
评测机
分数
0
总耗时
11ms
峰值内存
1.051 MiB