/ Vijos /

记录详情

Accepted

foo.c: In function 'knapsack':
foo.c:14:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d %d", &w[i], &t);
         ^~~~~~~~~~~~~~~~~~~~~~~~~
foo.c: In function 'main':
foo.c:39:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d %d", &T, &M);
     ^~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 420.0 KiB
#3 Accepted 1ms 512.0 KiB
#4 Accepted 1ms 640.0 KiB
#5 Accepted 2ms 1.656 MiB
#6 Accepted 1ms 1.125 MiB
#7 Accepted 2ms 1.668 MiB
#8 Accepted 3ms 2.125 MiB
#9 Accepted 4ms 2.75 MiB
#10 Accepted 0ms 316.0 KiB

信息

递交者
类型
递交
题目
P1317 开心的金明
语言
C
递交时间
2021-07-24 08:58:23
评测时间
2021-07-24 08:58:23
评测机
分数
100
总耗时
20ms
峰值内存
2.75 MiB