Accepted

foo.cc: In function 'int main()':
foo.cc:10:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   10 |     scanf("%d", &n);
      |     ~~~~~^~~~~~~~~~
foo.cc:13:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   13 |         scanf("%d", &data[i]);
      |         ~~~~~^~~~~~~~~~~~~~~~
foo.cc:22:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
   22 |     system("pause");
      |     ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 3ms 512.0 KiB
#2 Accepted 2ms 636.0 KiB

信息

递交者
类型
递交
题目
P1085 数组元素平均值
语言
C++
递交时间
2022-07-19 19:19:07
评测时间
2022-07-19 19:19:07
评测机
分数
100
总耗时
5ms
峰值内存
636.0 KiB