/ 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 378.46, expect 378.47. 4ms 632.0 KiB
#2 Wrong Answer Read 3053.56, expect 3052.70. 4ms 676.0 KiB
#3 Wrong Answer Read 79.11, expect 79.07. 5ms 664.0 KiB
#4 Wrong Answer Read 89491.20, expect 89489.68. 109ms 15.355 MiB
#5 Wrong Answer Read 8599.69, expect 8599.70. 109ms 15.363 MiB
#6 Wrong Answer Read 234818.19, expect 234799.94. 644ms 30.766 MiB
#7 Wrong Answer Read 3441.69, expect 3441.56. 644ms 30.742 MiB
#8 Wrong Answer Read 262674.80, expect 262668.52. 584ms 31.746 MiB
#9 Wrong Answer Read 36550.99, expect 36550.00. 582ms 31.723 MiB
#10 Wrong Answer Read 11253.23, expect 11252.71. 476ms 31.91 MiB

信息

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