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 2ms 736.0 KiB
#2 Accepted 1ms 724.0 KiB
#3 Accepted 1ms 632.0 KiB
#4 Accepted 1ms 632.0 KiB
#5 Accepted 1ms 724.0 KiB
#6 Accepted 1ms 632.0 KiB
#7 Accepted 2ms 744.0 KiB
#8 Accepted 2ms 760.0 KiB
#9 Accepted 4ms 760.0 KiB
#10 Accepted 4ms 764.0 KiB
#11 Accepted 29ms 1.074 MiB
#12 Accepted 39ms 1.094 MiB
#13 Accepted 27ms 1.109 MiB
#14 Accepted 32ms 1.074 MiB
#15 Accepted 106ms 23.816 MiB
#16 Accepted 119ms 23.805 MiB
#17 Accepted 476ms 37.676 MiB
#18 Accepted 383ms 42.258 MiB
#19 Accepted 454ms 46.586 MiB
#20 Accepted 483ms 46.684 MiB

信息

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