记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:130:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&n);
     ~~~~~^~~~~~~~~
foo.cc:131:31: 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:133:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     scanf("%d",&q);
     ~~~~~^~~~~~~~~
foo.cc:137:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&tp);
         ~~~~~^~~~~~~~~~
foo.cc:140:18: 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:145:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d%d",&s,&t);
             ~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 6ms 1.117 MiB
#2 Accepted 6ms 1.082 MiB
#3 Accepted 6ms 1.113 MiB
#4 Accepted 122ms 10.891 MiB
#5 Accepted 123ms 10.922 MiB
#6 Accepted 118ms 10.891 MiB
#7 Accepted 118ms 10.93 MiB
#8 Accepted 112ms 10.93 MiB
#9 Accepted 111ms 10.926 MiB
#10 Accepted 109ms 10.918 MiB

信息

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