/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:10:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 | scanf("%d%d%d%d",&m,&n,&cost,&L);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 | for(int j=1;j<=m;j++) scanf("%d",&sum[i][j]),sum[i][j]+=sum[i][j-1];
      |                       ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 512.0 KiB
#2 Accepted 7ms 768.0 KiB
#3 Accepted 5ms 640.0 KiB
#4 Accepted 13ms 1.0 MiB
#5 Accepted 14ms 896.0 KiB
#6 Accepted 31ms 4.992 MiB
#7 Accepted 64ms 5.242 MiB
#8 Accepted 41ms 5.375 MiB
#9 Accepted 77ms 5.617 MiB
#10 Accepted 97ms 6.113 MiB

信息

递交者
类型
递交
题目
P1243 生产产品
语言
C++
递交时间
2022-05-12 21:40:28
评测时间
2022-05-12 21:40:28
评测机
分数
100
总耗时
356ms
峰值内存
6.113 MiB