记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:53:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d%d",&n,&w);
  ~~~~~^~~~~~~~~~~~~~
foo.cc:54: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:58: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 1ms 512.0 KiB
#2 Accepted 2ms 476.0 KiB
#3 Accepted 35ms 13.906 MiB
#4 Accepted 39ms 13.953 MiB
#5 Accepted 39ms 13.945 MiB
#6 Accepted 37ms 13.953 MiB
#7 Accepted 37ms 13.926 MiB
#8 Accepted 35ms 13.965 MiB
#9 Accepted 37ms 13.926 MiB
#10 Accepted 36ms 13.969 MiB
#11 Accepted 321ms 228.426 MiB
#12 Accepted 319ms 228.453 MiB
#13 Accepted 304ms 229.281 MiB
#14 Accepted 303ms 229.301 MiB
#15 Accepted 914ms 338.938 MiB
#16 Accepted 922ms 338.797 MiB
#17 Accepted 895ms 339.203 MiB
#18 Accepted 901ms 339.191 MiB
#19 Accepted 908ms 339.16 MiB
#20 Accepted 899ms 339.16 MiB

信息

递交者
类型
递交
题目
P1002 小鸡啄米
语言
C++
递交时间
2021-01-27 02:59:32
评测时间
2021-01-27 02:59:32
评测机
分数
100
总耗时
6993ms
峰值内存
339.203 MiB