/ Vijos /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:10:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   10 | freopen("1243.in","r",stdin);freopen("1243.out","w",stdout);
      | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:10:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   10 | freopen("1243.in","r",stdin);freopen("1243.out","w",stdout);
      |                              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:11:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 | scanf("%d%d%d%d",&m,&n,&cost,&L);
      | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:13:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 | 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 2ms 256.0 KiB
#4 Wrong Answer 0a1 > 49541 2ms 256.0 KiB
#5 Wrong Answer 0a1 > 29733 3ms 384.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:48:04
评测时间
2021-12-14 19:48:04
评测机
分数
0
总耗时
21ms
峰值内存
384.0 KiB