记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:13:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d", &n);
  ~~~~~^~~~~~~~~~
foo.cc:14:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  for(int i = 0; i < n; i ++ ) scanf("%lld", &a[i]);
                               ~~~~~^~~~~~~~~~~~~~~
正在同步测试数据,请稍后
识别到20个测试点
# 状态 耗时 内存占用
#1 Accepted 2ms 328.0 KiB
#2 Accepted 1ms 384.0 KiB
#3 Accepted 1ms 384.0 KiB
#4 Accepted 1ms 384.0 KiB
#5 Accepted 2ms 384.0 KiB
#6 Accepted 2ms 384.0 KiB
#7 Accepted 3ms 384.0 KiB
#8 Accepted 2ms 384.0 KiB
#9 Accepted 3ms 384.0 KiB
#10 Accepted 3ms 384.0 KiB
#11 Accepted 5ms 568.0 KiB
#12 Accepted 72ms 3.148 MiB
#13 Accepted 20ms 1.164 MiB
#14 Accepted 14ms 964.0 KiB
#15 Accepted 66ms 2.828 MiB
#16 Accepted 88ms 3.652 MiB
#17 Accepted 21ms 1.102 MiB
#18 Accepted 31ms 1.453 MiB
#19 Accepted 18ms 1016.0 KiB
#20 Accepted 106ms 4.238 MiB

信息

递交者
类型
递交
语言
C++
递交时间
2020-10-28 15:13:21
评测时间
2020-10-28 15:13:21
评测机
分数
100
总耗时
470ms
峰值内存
4.238 MiB