/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   16 | freopen("1243.in","r",stdin);freopen("1243.out","w",stdout);
      | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:16:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   16 | freopen("1243.in","r",stdin);freopen("1243.out","w",stdout);
      |                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:17:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 | scanf("%d%d%d%d",&m,&n,&cost,&L);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:19:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 | for(int j=1;j<=m;j++) scanf("%d",&sum[i][j]),sum[i][j]+=sum[i][j-1];
      |                       ~~~~~^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 32717 2ms 256.0 KiB
#2 Wrong Answer 0a1 > 33392 2ms 256.0 KiB
#3 Wrong Answer 0a1 > 48970 1ms 256.0 KiB
#4 Wrong Answer 0a1 > 49541 2ms 256.0 KiB
#5 Wrong Answer 0a1 > 29733 2ms 256.0 KiB
#6 Wrong Answer 0a1 > 425462 2ms 256.0 KiB
#7 Wrong Answer 0a1 > 387506 1ms 256.0 KiB
#8 Wrong Answer 0a1 > 300384 1ms 256.0 KiB
#9 Wrong Answer 0a1 > 265113 1ms 256.0 KiB
#10 Wrong Answer 0a1 > 278883 1ms 256.0 KiB

信息

递交者
类型
递交
题目
P1243 生产产品
语言
C++
递交时间
2021-12-14 19:50:49
评测时间
2021-12-14 19:50:49
评测机
分数
0
总耗时
18ms
峰值内存
256.0 KiB