/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:13:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d%d",&max_v,&max_w);
     ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:14:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&t);
     ~~~~~^~~~~~~~~
foo.cc:17:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d%d%d",&v,&w,&c);
         ~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 896.0 KiB
#2 Accepted 1ms 920.0 KiB
#3 Accepted 1ms 640.0 KiB
#4 Accepted 3ms 1.461 MiB
#5 Accepted 2ms 896.0 KiB
#6 Accepted 5ms 1.738 MiB
#7 Accepted 3ms 1.25 MiB
#8 Accepted 3ms 1.367 MiB
#9 Accepted 1ms 1.0 MiB
#10 Accepted 4ms 1.309 MiB

信息

递交者
类型
递交
题目
P1334 NASA的食物计划
语言
C++
递交时间
2021-11-12 20:23:09
评测时间
2021-11-12 20:23:09
评测机
分数
100
总耗时
30ms
峰值内存
1.738 MiB