Wrong Answer

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 Wrong Answer Read 6499, expect 6500. 5ms 512.0 KiB
#2 Wrong Answer Read 5199, expect 5200. 4ms 384.0 KiB
#3 Wrong Answer Read 9999, expect 10000. 2ms 384.0 KiB
#4 Accepted 7ms 384.0 KiB
#5 Wrong Answer Read 130249, expect 130250. 2ms 384.0 KiB
#6 Accepted 5ms 384.0 KiB
#7 Wrong Answer Read 1999999, expect 2000000. 8ms 640.0 KiB
#8 Wrong Answer Read 1750899, expect 1750900. 28ms 1.875 MiB
#9 Accepted 6ms 384.0 KiB
#10 Accepted 5ms 384.0 KiB
#11 Accepted 12ms 768.0 KiB
#12 Wrong Answer Read 5399, expect 5400. 21ms 1.75 MiB
#13 Accepted 36ms 1.742 MiB
#14 Wrong Answer Read 39, expect 40. 31ms 1.875 MiB

信息

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