Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:16:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
    if(nd[imin]<nd[j]||nd[imin]==nd[j]&&bh[imin]>bh[j])
                       ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 460.0 KiB
#2 Accepted 5ms 456.0 KiB
#3 Time Exceeded ≥1000ms ≥1.145 MiB
#4 Time Exceeded ≥1000ms ≥1.109 MiB
#5 Time Exceeded ≥1000ms ≥1.164 MiB
#6 Time Exceeded ≥1001ms ≥2.699 MiB
#7 Time Exceeded ≥1002ms ≥2.664 MiB
#8 Time Exceeded ≥1001ms ≥2.625 MiB
#9 Time Exceeded ≥1005ms ≥2.691 MiB
#10 Accepted 1ms 376.0 KiB

信息

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