/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d%d%d",&K,&V,&n);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:11:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |   scanf("%d%d",&v[i],&w[i]);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 512.0 KiB
#2 Accepted 5ms 384.0 KiB
#3 Accepted 3ms 512.0 KiB
#4 Wrong Answer Read 42717, expect 42714. 29ms 896.0 KiB
#5 Accepted 7ms 640.0 KiB
#6 Wrong Answer Read 120696, expect 120448. 52ms 1.375 MiB
#7 Wrong Answer Read 164660, expect 163361. 55ms 1.625 MiB

信息

递交者
类型
递交
题目
P1412 多人背包
语言
C++
递交时间
2022-06-23 19:46:16
评测时间
2022-06-23 19:46:16
评测机
分数
40
总耗时
157ms
峰值内存
1.625 MiB