Accepted

foo.cc: In function 'bool check(double)':
foo.cc:13:24: warning: unused variable 'maxx' [-Wunused-variable]
   13 |     double sum1, sum2, maxx;
      |                        ^~~~
foo.cc: In function 'int main()':
foo.cc:25:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   25 |     scanf("%d%d", &n, &L);
      |     ~~~~~^~~~~~~~~~~~~~~~
foo.cc:27:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   27 |         scanf("%lf", &a[i]);
      |         ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 512.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 4ms 512.0 KiB
#8 Accepted 27ms 2.0 MiB
#9 Accepted 3ms 512.0 KiB
#10 Accepted 7ms 512.0 KiB
#11 Accepted 6ms 640.0 KiB
#12 Accepted 20ms 1.75 MiB
#13 Accepted 31ms 1.754 MiB
#14 Accepted 31ms 1.875 MiB

信息

递交者
类型
递交
题目
「一本通 1.2 例 2」Best Cow Fences
语言
C++
递交时间
2022-03-27 09:19:20
评测时间
2022-03-27 09:19:20
评测机
分数
98
总耗时
146ms
峰值内存
2.0 MiB