记录详情

Wrong Answer

foo.cc: In function 'int main()':
foo.cc:131:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:132:28: 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]);
                       ~~~~~^~~~~~~~~~~~
foo.cc:134:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&q);
  ~~~~~^~~~~~~~~
foo.cc:138:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&tp);
   ~~~~~^~~~~~~~~~
foo.cc:141:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d%d",&s,&t,&h);
    ~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:146:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d%d",&s,&t);
    ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Wrong Answer Read {0}, expect {1}. ["13441","2430"] 7ms 1.117 MiB
#2 Wrong Answer Read {0}, expect {1}. ["13441","2430"] 7ms 1.027 MiB
#3 Wrong Answer Read {0}, expect {1}. ["13441","2430"] 6ms 1.0 MiB
#4 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 137ms 10.805 MiB
#5 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 135ms 10.93 MiB
#6 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 139ms 10.82 MiB
#7 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 137ms 10.93 MiB
#8 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 128ms 10.891 MiB
#9 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 131ms 10.93 MiB
#10 Wrong Answer Read {0}, expect {1}. ["523128","49537"] 126ms 10.824 MiB

信息

递交者
类型
递交
题目
P1008 小敏种树苗(Round 1)
语言
C++
递交时间
2021-01-30 12:47:16
评测时间
2021-01-30 12:47:16
评测机
分数
0
总耗时
956ms
峰值内存
10.93 MiB