Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:133:39: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
   if(ratio<min_ratio||ratio==min_ratio&&h[i]>max_h)
                       ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
/in/foo.cc:140:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'LL {aka long long int}' [-Wformat=]
  printf("%d\n",res);
                   ^
# 状态 耗时 内存占用
#1 Accepted 2ms 760.0 KiB
#2 Accepted 2ms 720.0 KiB
#3 Accepted 1ms 728.0 KiB
#4 Accepted 1ms 632.0 KiB
#5 Accepted 1ms 700.0 KiB
#6 Accepted 1ms 716.0 KiB
#7 Accepted 1ms 732.0 KiB
#8 Accepted 1ms 632.0 KiB
#9 Accepted 2ms 648.0 KiB
#10 Accepted 2ms 712.0 KiB
#11 Accepted 6ms 1.129 MiB
#12 Accepted 7ms 1.031 MiB
#13 Accepted 5ms 1.078 MiB
#14 Accepted 7ms 1.121 MiB
#15 Accepted 67ms 23.777 MiB
#16 Accepted 69ms 23.801 MiB
#17 Accepted 199ms 37.602 MiB
#18 Accepted 169ms 42.199 MiB
#19 Accepted 203ms 46.668 MiB
#20 Accepted 212ms 46.605 MiB

信息

递交者
类型
递交
题目
P1354 开车旅行
语言
C++
递交时间
2024-07-11 16:24:27
评测时间
2024-07-11 16:24:27
评测机
分数
100
总耗时
970ms
峰值内存
46.668 MiB