Accepted

/in/foo.cc: In function 'bool cmp(st, st)':
/in/foo.cc:14:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return x.t()>y.t()||x.t()==y.t()&&(x.c+x.m)>(y.c+y.m)||x.t()==y.t()&&(x.c+x.m)==(y.c+y.m)&&max(x.c,x.m)>max(y.c,y.m);
                      ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/in/foo.cc:14:91: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return x.t()>y.t()||x.t()==y.t()&&(x.c+x.m)>(y.c+y.m)||x.t()==y.t()&&(x.c+x.m)==(y.c+y.m)&&max(x.c,x.m)>max(y.c,y.m);
                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 312.0 KiB
#2 Accepted 1ms 332.0 KiB
#3 Accepted 3ms 344.0 KiB
#4 Accepted 28ms 592.0 KiB
#5 Accepted 32ms 640.0 KiB

信息

递交者
类型
递交
题目
P2630 成绩排序5级1 2024.3
比赛
GESP5级 考前练习
语言
C++
递交时间
2024-06-21 12:06:18
评测时间
2024-06-21 12:06:18
评测机
分数
100
总耗时
67ms
峰值内存
640.0 KiB