Wrong Answer

/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 356.0 KiB
#2 Accepted 2ms 448.0 KiB
#3 Wrong Answer 21ms 808.0 KiB
#4 Wrong Answer 20ms 804.0 KiB
#5 Wrong Answer 21ms 804.0 KiB
#6 Wrong Answer 19ms 760.0 KiB
#7 Wrong Answer 19ms 808.0 KiB
#8 Wrong Answer 19ms 788.0 KiB
#9 Wrong Answer 20ms 808.0 KiB
#10 Accepted 1ms 416.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2024-02-28 15:09:21
评测时间
2024-02-28 15:09:21
评测机
分数
30
总耗时
148ms
峰值内存
808.0 KiB