记录详情

Accepted

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 Accepted 11ms 1.113 MiB
#2 Accepted 11ms 1.078 MiB
#3 Accepted 11ms 1.082 MiB
#4 Accepted 156ms 10.891 MiB
#5 Accepted 150ms 10.93 MiB
#6 Accepted 137ms 10.867 MiB
#7 Accepted 134ms 10.844 MiB
#8 Accepted 133ms 10.926 MiB
#9 Accepted 131ms 10.926 MiB
#10 Accepted 122ms 10.879 MiB

信息

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