记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:12:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:13: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("%lld",a+i);
                       ~~~~~^~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 640.0 KiB
#3 Accepted 3ms 640.0 KiB
#4 Accepted 36ms 6.375 MiB
#5 Accepted 35ms 6.492 MiB
#6 Accepted 36ms 6.516 MiB
#7 Accepted 34ms 6.496 MiB
#8 Accepted 35ms 6.484 MiB
#9 Accepted 34ms 6.523 MiB
#10 Accepted 37ms 6.449 MiB

信息

递交者
类型
递交
题目
P1012 数组
语言
C++
递交时间
2021-02-06 21:31:35
评测时间
2021-02-06 21:31:35
评测机
分数
100
总耗时
258ms
峰值内存
6.523 MiB