Wrong Answer

foo.cc: In function 'int main()':
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |     scanf("%d%d%d",&n,&now,&ma);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |     for(int i=1;i<=n;i++)scanf("%d",&a[i]);
      |                          ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read Happy, expect 349. 3ms 512.0 KiB
#3 Wrong Answer Read Happy, expect 20. 3ms 384.0 KiB
#4 Wrong Answer Read Happy, expect 113. 2ms 512.0 KiB
#5 Wrong Answer Read Happy, expect 998. 3ms 512.0 KiB
#6 Wrong Answer Read 1999, expect 999. 3ms 512.0 KiB
#7 Wrong Answer Read Happy, expect 449. 2ms 512.0 KiB
#8 Wrong Answer Read Happy, expect 999. 2ms 512.0 KiB
#9 Wrong Answer Read 97, expect 48. 3ms 512.0 KiB
#10 Wrong Answer Read Happy, expect 322. 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1067 YYB写强化
语言
C++
递交时间
2022-07-13 11:20:20
评测时间
2022-07-13 11:20:20
评测机
分数
10
总耗时
30ms
峰值内存
512.0 KiB