/ Vijos /

记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:5:9: warning: unused variable 'vleft' [-Wunused-variable]
    5 |     int vleft=V,dp[20010];//空间优化的0-1背包
      |         ^~~~~
foo.c:4:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    4 |     scanf("%d%d",&V,&n);
      |     ^~~~~~~~~~~~~~~~~~~
foo.c:7:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    7 |         scanf("%d",&v[i]);
      |         ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Wrong Answer Read -1879028771, expect 6. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1133 装箱问题
语言
C
递交时间
2022-05-09 22:46:00
评测时间
2022-05-09 22:46:00
评测机
分数
40
总耗时
8ms
峰值内存
384.0 KiB