/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 |  scanf("%d%d%d",&K,&V,&n);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:14:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |   scanf("%d%d",&v[i],&w[i]);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 384.0 KiB
#2 Wrong Answer Read 486, expect 472. 3ms 384.0 KiB
#3 Wrong Answer Read 2734, expect 2753. 2ms 384.0 KiB
#4 Wrong Answer Read 42276, expect 42714. 2ms 384.0 KiB
#5 Wrong Answer Read 11834, expect 11890. 3ms 384.0 KiB
#6 Wrong Answer Read 119496, expect 120448. 6ms 512.0 KiB
#7 Wrong Answer Read 161655, expect 163361. 6ms 384.0 KiB

信息

递交者
类型
递交
题目
P1412 多人背包
语言
C++
递交时间
2022-06-23 16:44:17
评测时间
2022-06-23 16:44:17
评测机
分数
10
总耗时
29ms
峰值内存
512.0 KiB