Wrong Answer

foo.cc: In function 'int main()':
foo.cc:9:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
    9 |  scanf("%d", &n);
      |  ~~~~~^~~~~~~~~~
foo.cc:12:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   12 |   scanf("%d", &data[i]);
      |   ~~~~~^~~~~~~~~~~~~~~~
foo.cc:21:8: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
   21 |  system("pause");
      |  ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 3ms 512.0 KiB
#2 Wrong Answer User output longer than standard answer. 5ms 656.0 KiB

信息

递交者
类型
递交
题目
P1085 数组元素平均值
语言
C++
递交时间
2022-07-18 20:16:23
评测时间
2022-07-18 20:16:23
评测机
分数
0
总耗时
8ms
峰值内存
656.0 KiB