/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:27:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&q);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:28:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++) scanf("%d",&v[i]);
                        ~~~~~^~~~~~~~~~~~
foo.cc:31:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&w[i]);
   ~~~~~^~~~~~~~~~~~
foo.cc:44:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d%d",&L,&R,&V);
   ~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 1031.28, expect 1031.29. 3ms 600.0 KiB
#2 Wrong Answer Read 3053.56, expect 3052.70. 3ms 608.0 KiB
#3 Wrong Answer Read 79.11, expect 79.07. 3ms 640.0 KiB
#4 Wrong Answer Read 15368.71, expect 15368.72. 79ms 14.742 MiB
#5 Wrong Answer Read 8599.69, expect 8599.70. 80ms 14.77 MiB
#6 Wrong Answer Read 108140.12, expect 108140.19. 532ms 31.664 MiB
#7 Wrong Answer Read 10029.35, expect 10029.36. 530ms 31.887 MiB
#8 Wrong Answer Read 262675.45, expect 262668.52. 526ms 31.488 MiB
#9 Wrong Answer Read 14349.54, expect 14349.56. 526ms 31.5 MiB
#10 Wrong Answer Read 68824.10, expect 68824.13. 483ms 31.719 MiB

信息

递交者
类型
递交
题目
P1678 陶陶的背包
语言
C++
递交时间
2021-10-13 21:59:03
评测时间
2021-10-13 21:59:03
评测机
分数
0
总耗时
2768ms
峰值内存
31.887 MiB