Wrong Answer

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

信息

递交者
类型
递交
题目
P1059 数组元素平均值
语言
C++
递交时间
2021-11-28 09:58:55
评测时间
2021-11-28 09:58:55
评测机
分数
0
总耗时
3ms
峰值内存
536.0 KiB