Wrong Answer

foo.cc: In function 'int main()':
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:9:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]); 
   ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 412.0 KiB
#2 Accepted 1ms 400.0 KiB
#3 Accepted 2ms 416.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 1ms 412.0 KiB
#6 Accepted 2ms 500.0 KiB
#7 Accepted 3ms 416.0 KiB
#8 Accepted 3ms 496.0 KiB
#9 Accepted 3ms 516.0 KiB
#10 Accepted 4ms 672.0 KiB
#11 Accepted 27ms 2.734 MiB
#12 Wrong Answer Read 999995, expect 1000000. 21ms 3.125 MiB
#13 Accepted 2ms 384.0 KiB
#14 Accepted 3ms 500.0 KiB
#15 Accepted 24ms 2.688 MiB
#16 Accepted 22ms 2.992 MiB
#17 Accepted 12ms 1.668 MiB
#18 Accepted 24ms 2.695 MiB
#19 Accepted 3ms 496.0 KiB
#20 Wrong Answer Read 29875765, expect 29875816. 23ms 3.273 MiB

信息

递交者
类型
递交
题目
「一本通 5.5 例 2」最大连续和
语言
C++
递交时间
2021-08-13 14:05:15
评测时间
2021-08-13 14:56:55
评测机
分数
90
总耗时
191ms
峰值内存
3.273 MiB