Time Exceeded

foo.cc: In function 'int main()':
foo.cc:16:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   16 |    if(a[i]<a[j]||a[i]==a[j]&&b[i]>b[j])
      |                  ~~~~~~~~~~^~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 12ms 384.0 KiB
#2 Accepted 11ms 384.0 KiB
#3 Time Exceeded ≥1102ms ≥1.125 MiB
#4 Time Exceeded ≥1103ms ≥1.242 MiB
#5 Time Exceeded ≥1100ms ≥1.121 MiB
#6 Time Exceeded ≥1100ms ≥2.617 MiB
#7 Time Exceeded ≥1101ms ≥2.617 MiB
#8 Time Exceeded ≥1101ms ≥2.617 MiB
#9 Time Exceeded ≥1101ms ≥2.617 MiB
#10 Wrong Answer Read 3, expect 4. 4ms 384.0 KiB

信息

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