记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:20:9: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
  freopen("game.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]
     freopen("game.out","w",stdout);
     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:22:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&m);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:23:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i=1;i<=n;i++) scanf("%d",&a[i]);
                        ~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer 0a1,2 > 87 > -87 2ms 384.0 KiB
#2 Wrong Answer 0a1,2 > 75 > -75 2ms 384.0 KiB
#3 Wrong Answer 0a1,2 > -4917 > 4917 2ms 384.0 KiB
#4 Wrong Answer 0a1,2 > 450 > -450 2ms 384.0 KiB
#5 Wrong Answer 0a1,2 > 17221 > -17221 2ms 384.0 KiB
#6 Wrong Answer 0a1,2 > 8327618 > -8327618 2ms 384.0 KiB
#7 Wrong Answer 0a1,2 > 16573 > -16573 2ms 384.0 KiB
#8 Wrong Answer 0a1,2 > 16543 > -16543 2ms 384.0 KiB
#9 Wrong Answer 0a1,2 > 16385 > -16385 2ms 384.0 KiB
#10 Wrong Answer 0a1,2 > 21493 > -21493 2ms 384.0 KiB

信息

递交者
类型
递交
题目
对决 (game.cpp\c\pas)
题目数据
下载
语言
C++
递交时间
2021-08-05 11:41:14
评测时间
2021-08-05 11:41:14
评测机
分数
0
总耗时
21ms
峰值内存
384.0 KiB