Time Exceeded

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

信息

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