Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[i]<a[j]||a[i]==a[j]&&b[i]>b[j])
                  ~~~~~~~~~~^~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 9ms 444.0 KiB
#2 Accepted 10ms 444.0 KiB
#3 Time Exceeded ≥1001ms ≥1.094 MiB
#4 Time Exceeded ≥1000ms ≥1.102 MiB
#5 Time Exceeded ≥1001ms ≥1.152 MiB
#6 Time Exceeded ≥1000ms ≥2.691 MiB
#7 Time Exceeded ≥1000ms ≥2.672 MiB
#8 Time Exceeded ≥1001ms ≥2.621 MiB
#9 Time Exceeded ≥1004ms ≥2.691 MiB
#10 Wrong Answer 1ms 368.0 KiB

信息

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