/ 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 977.05, expect 981.42. 3ms 640.0 KiB
#2 Wrong Answer Read 139.20, expect 146.13. 3ms 696.0 KiB
#3 Wrong Answer Read 660.93, expect 663.18. 3ms 640.0 KiB
#4 Wrong Answer Read 15368.00, expect 15368.72. 83ms 14.766 MiB
#5 Wrong Answer Read 645.26, expect 650.71. 84ms 14.773 MiB
#6 Wrong Answer Read 108138.32, expect 108140.19. 533ms 30.523 MiB
#7 Wrong Answer Read 6968.71, expect 6973.80. 537ms 30.559 MiB
#8 Wrong Answer Read 262668.48, expect 262668.52. 535ms 31.602 MiB
#9 Wrong Answer Read 14348.47, expect 14349.56. 536ms 31.555 MiB
#10 Wrong Answer Read 12992.10, expect 12999.34. 494ms 31.391 MiB

信息

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