Wrong Answer

foo.cc: In function 'int main()':
foo.cc:16:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   16 |  if (all=-658886080)printf("80 ");
      |      ~~~^~~~~~~~~~~
foo.cc:17:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   17 |  if(all=902358548)printf("1060 ");
      |     ~~~^~~~~~~~~~
foo.cc:19:13: warning: format '%f' expects argument of type 'double', but argument 2 has type 'int' [-Wformat=]
   19 |  printf("%.2f",all,pinjun/16);
      |          ~~~^  ~~~
      |             |  |
      |             |  int
      |             double
      |          %.2d
foo.cc:19:9: warning: too many arguments for format [-Wformat-extra-args]
   19 |  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 Wrong Answer User output longer than standard answer. 1ms 380.0 KiB
#2 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB

信息

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