记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:47:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:48: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",c+i);
                       ~~~~~^~~~~~~~~~
foo.cc:52:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d%d",&x,&y);
   ~~~~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 512.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 7ms 2.961 MiB
#4 Accepted 6ms 2.992 MiB
#5 Accepted 7ms 2.961 MiB
#6 Accepted 7ms 2.977 MiB
#7 Accepted 6ms 3.016 MiB
#8 Accepted 7ms 2.973 MiB
#9 Accepted 7ms 2.977 MiB
#10 Accepted 6ms 2.875 MiB
#11 Accepted 6ms 2.992 MiB
#12 Accepted 6ms 2.988 MiB
#13 Accepted 7ms 2.988 MiB
#14 Accepted 7ms 2.988 MiB
#15 Accepted 377ms 138.441 MiB
#16 Accepted 385ms 138.512 MiB
#17 Accepted 360ms 138.477 MiB
#18 Accepted 362ms 138.594 MiB
#19 Accepted 369ms 138.582 MiB
#20 Accepted 370ms 138.594 MiB

信息

递交者
类型
递交
题目
P1002 小鸡啄米
语言
C++
递交时间
2021-01-26 20:30:36
评测时间
2021-01-26 21:05:37
评测机
分数
100
总耗时
2315ms
峰值内存
138.594 MiB