/ WHOJ /

记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   20 |     freopen("cost.in","r",stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:21:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   21 |     freopen("cost.out","w",stdout);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:22:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |     scanf("%d%d%d%d%d",&n,&rs,&cs,&rt,&ct);
      |     ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:23:32: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   23 |     for(int i=1;i<=n;++i) scanf("%s",mp[i]+1);
      |                           ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 10 \ No newline at end o 2ms 256.0 KiB
#2 Wrong Answer 0a1 > 8 3ms 256.0 KiB
#3 Wrong Answer 0a1 > 1205 \ No newline at end 3ms 256.0 KiB
#4 Wrong Answer 0a1 > 3316 3ms 256.0 KiB
#5 Wrong Answer 0a1,2 > 1565 > 3ms 256.0 KiB
#6 Wrong Answer 0a1 > 0 2ms 256.0 KiB
#7 Wrong Answer 0a1 > 0 2ms 256.0 KiB
#8 Wrong Answer 0a1 > 1130 2ms 256.0 KiB
#9 Wrong Answer 0a1,2 > 2 > 2ms 256.0 KiB
#10 Wrong Answer 0a1 > 5 \ No newline at end of 2ms 256.0 KiB

信息

递交者
类型
递交
题目
P1286 营救成本
题目数据
下载
语言
C++
递交时间
2022-07-11 19:33:12
评测时间
2022-07-11 19:33:12
评测机
分数
0
总耗时
27ms
峰值内存
256.0 KiB