Accepted

foo.cc: In function 'int main(int, const char**)':
foo.cc:7:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%d",&n);
  ~~~~~^~~~~~~~~
foo.cc:9:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&a[i]);
   ~~~~~^~~~~~~~~~~~
Found 10 testcases.
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 384.0 KiB
#2 Accepted 2ms 384.0 KiB
#3 Accepted 2ms 384.0 KiB
#4 Accepted 9ms 472.0 KiB
#5 Accepted 21ms 588.0 KiB
#6 Accepted 26ms 788.0 KiB
#7 Accepted 26ms 656.0 KiB
#8 Accepted 48ms 1.148 MiB
#9 Accepted 45ms 1.184 MiB
#10 Accepted 288ms 1.578 MiB

信息

递交者
类型
递交
题目
P1015 统计数字
语言
C++
递交时间
2021-09-22 11:48:56
评测时间
2021-09-22 11:48:56
评测机
分数
100
总耗时
471ms
峰值内存
1.578 MiB