Accepted

/in/foo.cc: In function 'bool cmp(std::pair<int, int>, std::pair<int, int>)':
/in/foo.cc:7:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  return a.first>b.first||a.first==b.first&&a.second<b.second;
                          ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 440.0 KiB
#2 Accepted 2ms 456.0 KiB
#3 Accepted 38ms 1.184 MiB
#4 Accepted 38ms 1.086 MiB
#5 Accepted 41ms 1.184 MiB
#6 Accepted 124ms 2.699 MiB
#7 Accepted 118ms 2.707 MiB
#8 Accepted 125ms 2.703 MiB
#9 Accepted 133ms 2.703 MiB
#10 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2024-02-28 15:13:01
评测时间
2024-02-28 15:13:01
评测机
分数
100
总耗时
628ms
峰值内存
2.707 MiB