Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[i]<a[j]||a[i]==a[j]&&b[i]>b[j])
                  ~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 22ms 444.0 KiB
#2 Accepted 23ms 448.0 KiB
#3 Time Exceeded ≥1001ms ≥1.152 MiB
#4 Time Exceeded ≥1001ms ≥1.129 MiB
#5 Time Exceeded ≥1001ms ≥1.098 MiB
#6 Time Exceeded ≥1001ms ≥2.688 MiB
#7 Time Exceeded ≥1001ms ≥2.699 MiB
#8 Time Exceeded ≥1000ms ≥2.672 MiB
#9 Time Exceeded ≥1005ms ≥2.691 MiB
#10 Accepted 1ms 328.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
语言
C++
递交时间
2022-06-20 09:34:02
评测时间
2022-06-20 09:34:02
评测机
分数
30
总耗时
≥7060ms
峰值内存
≥2.699 MiB