Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(nd[j]<nd[j+1]||nd[j]==nd[j+1] && bh[j]>bh[j+1])
                      ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 24ms 464.0 KiB
#2 Accepted 23ms 460.0 KiB
#3 Time Exceeded ≥1003ms ≥1.117 MiB
#4 Time Exceeded ≥1003ms ≥1.098 MiB
#5 Time Exceeded ≥1001ms ≥1.102 MiB
#6 Time Exceeded ≥1000ms ≥2.691 MiB
#7 Time Exceeded ≥1001ms ≥2.664 MiB
#8 Time Exceeded ≥1000ms ≥2.605 MiB
#9 Time Exceeded ≥1006ms ≥2.699 MiB
#10 Accepted 1ms 332.0 KiB

信息

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