Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(a[j+1]>a[j]||a[j+1]==a[j]&&bh[j+1]<bh[j]){
                    ~~~~~~~~~~~~^~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 23ms 456.0 KiB
#2 Accepted 23ms 456.0 KiB
#3 Time Exceeded ≥1002ms ≥1.16 MiB
#4 Time Exceeded ≥1000ms ≥1.09 MiB
#5 Time Exceeded ≥1001ms ≥1.102 MiB
#6 Time Exceeded ≥1000ms ≥2.699 MiB
#7 Time Exceeded ≥1002ms ≥2.625 MiB
#8 Time Exceeded ≥1000ms ≥2.609 MiB
#9 Time Exceeded ≥1004ms ≥2.699 MiB
#10 Accepted 1ms 376.0 KiB

信息

递交者
类型
递交
题目
P1900 假期作业
比赛
2024.8.3暑期中级2班练习
语言
C++
递交时间
2024-08-03 21:21:28
评测时间
2024-08-03 21:21:28
评测机
分数
30
总耗时
≥7061ms
峰值内存
≥2.699 MiB