Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:121:45: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
         if(ratio<min_ratio||ratio==min_ratio&&h[i]>max_h)
                             ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 1ms 660.0 KiB
#2 Accepted 1ms 720.0 KiB
#3 Accepted 1ms 616.0 KiB
#4 Accepted 1ms 728.0 KiB
#5 Accepted 1ms 720.0 KiB
#6 Accepted 1ms 728.0 KiB
#7 Accepted 2ms 724.0 KiB
#8 Accepted 2ms 732.0 KiB
#9 Accepted 4ms 724.0 KiB
#10 Accepted 4ms 728.0 KiB
#11 Accepted 29ms 1.074 MiB
#12 Accepted 39ms 1.086 MiB
#13 Accepted 27ms 1.074 MiB
#14 Accepted 31ms 1.078 MiB
#15 Accepted 105ms 23.812 MiB
#16 Accepted 117ms 23.809 MiB
#17 Accepted 468ms 37.684 MiB
#18 Accepted 383ms 42.254 MiB
#19 Accepted 461ms 46.688 MiB
#20 Accepted 493ms 46.695 MiB

信息

递交者
类型
递交
题目
P1354 开车旅行
语言
C++
递交时间
2024-07-29 16:19:44
评测时间
2024-07-29 16:19:44
评测机
分数
100
总耗时
2183ms
峰值内存
46.695 MiB