记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:37:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   37 |  freopen("fly.in","r",stdin);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~
foo.cc:38:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
   38 |  freopen("fly.out","w",stdout);
      |  ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc:39:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   39 |  scanf("%d%d%d",&n,&s,&t);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:40:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   40 |  for(int i=1;i<=n;i++) scanf("%d",&dis[i]);
      |                        ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1 > 0 \ No newline at end of 4ms 384.0 KiB
#2 Wrong Answer 0a1 > 3 \ No newline at end of 2ms 384.0 KiB
#3 Wrong Answer 0a1 > 4 \ No newline at end of 2ms 384.0 KiB
#4 Wrong Answer 0a1 > 14 \ No newline at end o 1ms 384.0 KiB
#5 Wrong Answer 0a1 > 10 \ No newline at end o 2ms 384.0 KiB
#6 Wrong Answer 0a1 > 28 \ No newline at end o 1ms 384.0 KiB
#7 Wrong Answer 0a1 > 21 \ No newline at end o 1ms 384.0 KiB
#8 Wrong Answer 0a1 > 19 \ No newline at end o 4ms 384.0 KiB
#9 Wrong Answer 0a1 > 20 \ No newline at end o 3ms 384.0 KiB
#10 Wrong Answer 0a1 > -1 \ No newline at end o 3ms 384.0 KiB

信息

递交者
类型
递交
题目
P1009 2.新飞行棋
语言
C++
递交时间
2021-12-10 21:02:03
评测时间
2021-12-10 21:02:03
评测机
分数
0
总耗时
28ms
峰值内存
384.0 KiB