Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   16 |  if(all=902358548)printf("1060 ");
      |     ~~~^~~~~~~~~~
foo.cc:18:13: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   18 |  printf("%.2f",all,pinjun/16);
      |          ~~~^  ~~~
      |             |  |
      |             |  int
      |             double
      |          %.2d
foo.cc:18:9: warning: too many arguments for format [-Wformat-extra-args]
   18 |  printf("%.2f",all,pinjun/16);
      |         ^~~~~~
foo.cc:13:10: warning: 'pinjun' may be used uninitialized in this function [-Wmaybe-uninitialized]
   13 |    pinjun+=list[i][j];
      |    ~~~~~~^~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 384.0 KiB
#2 Wrong Answer Read 1060, expect 80. 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1091 二维数组 元素和及平均值
语言
C++
递交时间
2022-07-16 18:57:33
评测时间
2022-07-16 18:57:33
评测机
分数
50
总耗时
5ms
峰值内存
384.0 KiB