Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:120:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(ratio<min_ratio||ratio==min_ratio&&h[i]>max_h)
                       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 1.414 MiB
#2 Accepted 1ms 720.0 KiB
#3 Accepted 1ms 668.0 KiB
#4 Accepted 1ms 716.0 KiB
#5 Accepted 1ms 632.0 KiB
#6 Accepted 1ms 632.0 KiB
#7 Accepted 2ms 664.0 KiB
#8 Accepted 2ms 716.0 KiB
#9 Accepted 5ms 712.0 KiB
#10 Accepted 4ms 732.0 KiB
#11 Accepted 31ms 1.168 MiB
#12 Accepted 42ms 1.086 MiB
#13 Accepted 30ms 1.066 MiB
#14 Accepted 36ms 1.176 MiB
#15 Accepted 126ms 23.793 MiB
#16 Accepted 140ms 23.781 MiB
#17 Accepted 538ms 37.652 MiB
#18 Accepted 435ms 42.23 MiB
#19 Accepted 532ms 46.656 MiB
#20 Accepted 561ms 46.652 MiB

信息

递交者
类型
递交
题目
P1354 开车旅行
语言
C++
递交时间
2024-07-11 15:36:43
评测时间
2024-07-11 15:36:43
评测机
分数
100
总耗时
2502ms
峰值内存
46.656 MiB