记录详情

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 2ms 512.0 KiB
#2 Accepted 1ms 512.0 KiB
#3 Accepted 37ms 13.922 MiB
#4 Accepted 36ms 13.945 MiB
#5 Accepted 37ms 13.926 MiB
#6 Accepted 38ms 13.953 MiB
#7 Accepted 38ms 13.934 MiB
#8 Accepted 42ms 13.969 MiB
#9 Accepted 40ms 13.965 MiB
#10 Accepted 36ms 13.965 MiB
#11 Accepted 307ms 228.457 MiB
#12 Accepted 303ms 228.461 MiB
#13 Accepted 309ms 228.465 MiB
#14 Accepted 309ms 228.461 MiB
#15 Accepted 909ms 338.316 MiB
#16 Accepted 910ms 338.324 MiB
#17 Accepted 910ms 339.156 MiB
#18 Accepted 905ms 339.18 MiB
#19 Accepted 907ms 339.148 MiB
#20 Accepted 902ms 339.176 MiB

信息

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