/ 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 773.61, expect 773.58. 3ms 600.0 KiB
#2 Wrong Answer Read 3053.57, expect 3052.70. 3ms 676.0 KiB
#3 Wrong Answer Read 79.11, expect 79.07. 3ms 640.0 KiB
#4 Wrong Answer Read 29816.20, expect 29816.21. 95ms 15.266 MiB
#5 Wrong Answer Read 8599.69, expect 8599.70. 97ms 15.289 MiB
#6 Wrong Answer Read 75395.58, expect 75395.59. 543ms 32.781 MiB
#7 Wrong Answer Read 3441.71, expect 3441.56. 533ms 32.902 MiB
#8 Wrong Answer Read 262675.82, expect 262668.52. 517ms 31.355 MiB
#9 Wrong Answer Read 36551.16, expect 36550.00. 516ms 31.328 MiB
#10 Wrong Answer Read 49574.14, expect 49574.15. 481ms 30.441 MiB

信息

递交者
类型
递交
题目
P1678 陶陶的背包
语言
C++
递交时间
2021-10-13 22:00:08
评测时间
2021-10-13 22:00:55
评测机
分数
0
总耗时
2795ms
峰值内存
32.902 MiB